summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 80fc84447835..7386a8da3033 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = afew-git
pkgdesc = afew is an initial tagging script for notmuch mail
- pkgver = 0.237.162d9fa
+ pkgver = 1.0.0.r21.g6f4244e
pkgrel = 1
epoch = 1
url = https://github.com/teythoon/afew
diff --git a/PKGBUILD b/PKGBUILD
index 4c9813de9de1..20be735abb49 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() {