summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Auditor2016-01-16 15:12:54 +0100
committerStefan Auditor2016-01-16 15:12:54 +0100
commit5e226576f6ce5bc269d6106680a5a58134e62736 (patch)
treecd9faa3f3ae9c86469ee056957ff583192f0c904
parent80031b4e90224e4916daaee3a7409d8616b548e6 (diff)
downloadaur-5e226576f6ce5bc269d6106680a5a58134e62736.tar.gz
Fix version detection
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83e8155fae4..69da83be61f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Jan 16 13:31:35 UTC 2016
+# Sat Jan 16 14:03:09 UTC 2016
pkgbase = drush-git-alternative
pkgdesc = Drush is a command line shell and Unix scripting interface for Drupal
pkgver = 8.0.2.r14.g30f88b2
diff --git a/PKGBUILD b/PKGBUILD
index 8702015831a..6e04f643fb9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=("${_pkgname}-${pkgver}"::"git+https://github.com/drush-ops/drush.git")
sha512sums=('SKIP')
pkgver() {
- cd "${_pkgname}"
+ cd "${_pkgname}-${pkgver}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}