summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiancarlo Razzolini2017-05-12 10:59:03 -0300
committerGiancarlo Razzolini2017-05-12 10:59:03 -0300
commit4293e3436ca74b746c59114915338334b62e0465 (patch)
treeeefdc9fc5d905d89b2966bddbfde7fd290126aac
parent49757fd887900b3facaf0ee498290091941d7c6d (diff)
downloadaur-4293e3436ca74b746c59114915338334b62e0465.tar.gz
Fixed the pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 80fc8444783..7386a8da303 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 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() {