diff options
author | Stefan Auditor | 2016-01-16 15:12:54 +0100 |
---|---|---|
committer | Stefan Auditor | 2016-01-16 15:12:54 +0100 |
commit | 5e226576f6ce5bc269d6106680a5a58134e62736 (patch) | |
tree | cd9faa3f3ae9c86469ee056957ff583192f0c904 | |
parent | 80031b4e90224e4916daaee3a7409d8616b548e6 (diff) | |
download | aur-5e226576f6ce5bc269d6106680a5a58134e62736.tar.gz |
Fix version detection
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -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' } |