diff --git a/ezcommits/PKGBUILD b/ezcommits/PKGBUILD new file mode 100644 index 00000000..0df43a54 --- /dev/null +++ b/ezcommits/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Abhiraj Roy +pkgname='ezcommits' +pkgver=1 +pkgrel=1 +pkgdesc="Better Git Commit Messages" +arch=( + 'x86_64' + ) +url="https://github.com/iconized/${pkgname}" +license=( + 'MIT' + ) +depends=( + 'curl' + 'gum' + ) +makedepends=('git') +source=(git+${url}.git) +sha256sums=('SKIP') + +pkgver() { + # cd "$srcdir/$pkgname" || exit + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} +package() { + + cd "$pkgname" + install -Dm755 "ezcommits" "$pkgdir/usr/bin/ezcommits" + +} \ No newline at end of file