summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 22fb5f292935..48b73d3c5bd3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_npmname=imapnotify
pkgname=nodejs-imapnotify-git
-pkgver=r30.a37456c
+pkgver=0.2.0.r6.ga37456c
pkgrel=1
pkgdesc='Execute scripts on new messages using IDLE imap command'
arch=(any)
@@ -20,7 +20,7 @@ sha256sums=('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() {