summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlberto Redondo2021-10-05 16:37:24 +0200
committerAlberto Redondo2021-10-05 16:37:24 +0200
commitfc6adca8c3cba3ee3b536d85a1d2ac50a536bb6c (patch)
tree4d93769146850f31ab3dcfe6cf18b559651d4ebd /PKGBUILD
parentfb992fad2b2dcb0d8c983d93987d7450e68225b0 (diff)
downloadaur-bsptab-git.tar.gz
Update pkgver which now uses tags
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fb53b43bd1b9..889799473314 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=bsptab
pkgname=$_pkgname-git
-pkgver=r12.668abaf
+pkgver=0.1.r0.g37c3235
pkgrel=1
pkgdesc='Suckless'"'"' tabbed integration into bspwm'
arch=('any')
@@ -18,7 +18,7 @@ md5sums=('SKIP')
pkgver() {
cd $_pkgname
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {