diff options
author | lxgr-linux | 2021-09-09 19:33:26 +0200 |
---|---|---|
committer | lxgr-linux | 2021-09-09 19:33:26 +0200 |
commit | 30135d9da71840a8ebcd30b74955061562f704d3 (patch) | |
tree | c499f83d2c274960493bdd5062e615b3cb498d4e | |
parent | 2883ec150300938fbb8e0cb8bd14c5f2c4484a4f (diff) | |
download | aur-30135d9da71840a8ebcd30b74955061562f704d3.tar.gz |
Fixed versioning
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = almh-git pkgdesc = Gives you a CLI menu with some common maintenance options inside an Arch Linux system - pkgver = 35.382fb84 + pkgver = r50.32078a1 pkgrel = 1 url = https://github.com/voider755/almh arch = any @@ -14,4 +14,3 @@ pkgbase = almh-git md5sums = SKIP pkgname = almh-git - @@ -2,7 +2,7 @@ # AUR Package Maintainer: lxgr <lxgr@protonmail.com> pkgname=almh-git -pkgver=35.382fb84 +pkgver=r50.32078a1 pkgrel=1 pkgdesc="Gives you a CLI menu with some common maintenance options inside an Arch Linux system" arch=(any) @@ -16,8 +16,9 @@ md5sums=('SKIP') pkgver() { cd "$pkgname" - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } + package() { cd "${srcdir}/$pkgname" install -Dm0755 -t "$pkgdir/usr/bin" "almh.py" |