summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 73b7e59d32c..9674b5c5b33 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = devscripts-git
pkgdesc = Scripts to make the life of a Debian Package maintainer easier (git-latest)
- pkgver = v2.16.7
+ pkgver = 2.16.7.r9.ge27bff6
pkgrel = 1
url = https://anonscm.debian.org/git/collab-maint/devscripts.git
install = devscripts-git.install
diff --git a/PKGBUILD b/PKGBUILD
index da93607c124..8f4a582ac13 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,8 @@
# to your AUR helper (common flag).
pkgname=devscripts-git
-_gitname=devscripts pkgver=v2.16.7
+_gitname=devscripts
+pkgver=2.16.7.r9.ge27bff6
pkgrel=1 pkgdesc="Scripts to make the life of a Debian Package maintainer easier (git-latest)"
arch=('any')
url="https://anonscm.debian.org/git/collab-maint/devscripts.git"
@@ -27,8 +28,9 @@ md5sums=('SKIP'
'110857b0eb4a9dbf57a8b562d992ab33')
pkgver() {
+
cd "$_gitname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//'
}