summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorprofessorkaos642016-09-15 15:05:51 -0400
committerprofessorkaos642016-09-15 15:05:51 -0400
commita3c093d468e2bec91c2de70cfbd5456fb8434281 (patch)
tree6a5df601adfac51022a666c2dcdcbe9b29d1fe70 /PKGBUILD
parent0d7b0f2d396a17946192144d7ad0eab66cc81976 (diff)
downloadaur-a3c093d468e2bec91c2de70cfbd5456fb8434281.tar.gz
fix versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
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//'
}