mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-20 19:45:00 +02:00
📚 docs(pkgbuild): add script to build ezcommits
Signed-off-by: Abhiraj Roy <157954129+iconized@users.noreply.github.com>
This commit is contained in:
30
ezcommits/PKGBUILD
Normal file
30
ezcommits/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Abhiraj Roy <iconized@outlook.in>
|
||||
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"
|
||||
|
||||
}
|
Reference in New Issue
Block a user