summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5716ab4adbd1..17567a8273f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Sep 15 01:52:45 UTC 2016
+# Wed Nov 1 18:01:04 UTC 2017
pkgbase = nodejs-imapnotify-git
pkgdesc = Execute scripts on new messages using IDLE imap command
- pkgver = 0.2.0
- pkgrel = 4
+ pkgver = 0.2.0.r6.ga37456c
+ pkgrel = 1
url = http://github.com/a-sk/node-imapnotify
install = nodejs-imapnotify-git.install
arch = any
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() {