diff options
author | jahway603 | 2024-08-26 11:04:26 -0400 |
---|---|---|
committer | jahway603 | 2024-08-26 11:04:26 -0400 |
commit | 8bf84f8bb77b1c2afe4ad4afdabfcae357e37f59 (patch) | |
tree | ef1c8a5f492c4ec6db1e41e095a754b5bcc281c5 | |
parent | 962729ffd503d81bafb0776d4a840bae4da4e609 (diff) | |
download | aur-iamb-git.tar.gz |
iamb-git: fixed pkgver issue
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = iamb-git pkgdesc = A Matrix client for Vim addicts - pkgver = latest.r24.g6532874 + pkgver = r188.3355eb2 pkgrel = 1 url = https://github.com/ulyssa/iamb arch = x86_64 @@ -2,7 +2,7 @@ pkgname=iamb-git _pkg=iamb -pkgver=latest.r24.g6532874 +pkgver=r188.3355eb2 pkgrel=1 pkgdesc='A Matrix client for Vim addicts' url='https://github.com/ulyssa/iamb' @@ -18,7 +18,8 @@ options=('!lto') # https://wiki.archlinux.org/title/VCS_package_guidelines pkgver() { cd "$srcdir/${pkgname%-git}" - git describe --long --tags --abbrev=7 | sed 's/-/.r/;s/-/./' +# git describe --long --tags --abbrev=7 | sed 's/-/.r/;s/-/./' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" } build() { |