summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKian Kasad2020-10-03 14:32:11 -0700
committerKian Kasad2020-10-03 14:32:11 -0700
commit32e889219b0fbe2fac08ab35240a49fc156d4aa9 (patch)
tree65f38464cd0f34a21beaa908acafcae6a4bd0396 /PKGBUILD
parent56ad9c77daffc4ac540c48e81cf3087b00b2d5d8 (diff)
downloadaur-32e889219b0fbe2fac08ab35240a49fc156d4aa9.tar.gz
update versioning tactic
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9adfb603f4d..869cb48b87c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer: Kian Kasad <kdkasad@gmail.com>
pkgname=dmenu-kian-git
-pkgver=4.9
-_pkgver=4.9
-pkgrel=3
+pkgver=v4.9.r6.d668f55
+pkgrel=1
pkgdesc="A customized build of dmenu by Kian Kasad"
arch=('any')
url="https://gitlab.com/kdkasad/dmenu.git"
@@ -17,7 +16,7 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-kian-git}"
- printf "${_pkgver}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {