summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGiancarlo Razzolini2017-05-12 10:59:03 -0300
committerGiancarlo Razzolini2017-05-12 10:59:03 -0300
commit4293e3436ca74b746c59114915338334b62e0465 (patch)
treeeefdc9fc5d905d89b2966bddbfde7fd290126aac /PKGBUILD
parent49757fd887900b3facaf0ee498290091941d7c6d (diff)
downloadaur-4293e3436ca74b746c59114915338334b62e0465.tar.gz
Fixed the pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4c9813de9de..20be735abb4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
-# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com>
+# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
+# Contributor: Kazuo Teramoto <kaz.rag at gmail.com>
pkgname=afew-git
-pkgver=0.237.162d9fa
+pkgver=1.0.0.r21.g6f4244e
pkgrel=1
epoch=1
pkgdesc="afew is an initial tagging script for notmuch mail"
@@ -16,7 +17,7 @@ md5sums=('295b245540aa61538f9a3556c4be846c'
pkgver() {
cd "$srcdir/afew"
- echo "0.$(git rev-list --count HEAD).$(git describe --always)"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {