diff options
author | Stefan Auditor | 2016-01-22 09:48:18 +0100 |
---|---|---|
committer | Stefan Auditor | 2016-01-22 09:48:18 +0100 |
commit | fb42672af333d12211d30aff85aadb3771dcb92e (patch) | |
tree | fcc4bc15073161e5a2dcbc5b228ed354d165a306 | |
parent | 5e226576f6ce5bc269d6106680a5a58134e62736 (diff) | |
download | aur-fb42672af333d12211d30aff85aadb3771dcb92e.tar.gz |
Change checkout paths
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sat Jan 16 14:03:09 UTC 2016 +# Fri Jan 22 08:47:25 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 @@ -13,7 +13,7 @@ pkgbase = drush-git-alternative depends = php provides = drush=8.0.2.r14.g30f88b2 conflicts = drush - source = drush-8.0.2.r14.g30f88b2::git+https://github.com/drush-ops/drush.git + source = drush::git+https://github.com/drush-ops/drush.git sha512sums = SKIP pkgname = drush-git-alternative @@ -12,23 +12,23 @@ depends=('php') makedepends=("php-box" "php-composer" "git") provides=("${_pkgname}=${pkgver}") conflicts=("${_pkgname}") -source=("${_pkgname}-${pkgver}"::"git+https://github.com/drush-ops/drush.git") +source=("${_pkgname}"::"git+https://github.com/drush-ops/drush.git") sha512sums=('SKIP') pkgver() { - cd "${_pkgname}-${pkgver}" + cd "${_pkgname}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${_pkgname}" php /usr/bin/composer install --no-dev cp box.json.dist box.json php -d phar.readonly=Off /usr/bin/php-box build } package() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${_pkgname}" install -D -m755 "${_pkgname}.phar" "${pkgdir}/usr/bin/${_pkgname}" install -D -m644 "examples/example.aliases.drushrc.php" "${pkgdir}/etc/drush/aliases.drushrc.php" install -D -m644 "examples/example.drush.ini" "${pkgdir}/etc/drush/drush.ini" |