diff options
author | Stefan Auditor | 2017-02-06 10:49:02 +0100 |
---|---|---|
committer | Stefan Auditor | 2017-02-06 10:49:02 +0100 |
commit | 397e8360c766c8b13f0a964b98a025a531fe7ed2 (patch) | |
tree | 65998ad4c3d863386bcaabaa910d99f657bebcb6 | |
parent | 58133ce8f02e98089becad31a4901cefa684fd74 (diff) | |
download | aur-397e8360c766c8b13f0a964b98a025a531fe7ed2.tar.gz |
Update to upstream version 0.2.0
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 11 insertions, 18 deletions
@@ -1,18 +1,14 @@ -# Generated by mksrcinfo v8 -# Tue Apr 5 10:00:06 UTC 2016 pkgbase = phpqa pkgdesc = PHPQA all-in-one Analyzer CLI tool. - pkgver = 0.1.0 + pkgver = 0.2.0 pkgrel = 1 url = https://github.com/jmolivas/phpqa arch = any license = MIT - makedepends = php-box makedepends = php-composer - makedepends = git depends = php - source = phpqa::git+https://github.com/jmolivas/phpqa.git - sha512sums = SKIP + source = phpqa-0.2.0::https://github.com/jmolivas/phpqa/archive/0.2.0.tar.gz + md5sums = f2c424045c703d36774e0fd796fb67b2 pkgname = phpqa @@ -3,31 +3,28 @@ _pkgname=phpqa pkgname=${_pkgname} -pkgver=0.1.0 +pkgver=0.2.0 pkgrel=1 pkgdesc="PHPQA all-in-one Analyzer CLI tool." arch=("any") url="https://github.com/jmolivas/phpqa" license=("MIT") depends=("php") -makedepends=("php-box" "php-composer" "git") -source=("${_pkgname}"::"git+https://github.com/jmolivas/phpqa.git") -sha512sums=('SKIP') - -pkgver() { - cd "${_pkgname}" - git describe --abbrev=0 --tags -} +makedepends=("php-composer") +source=("${pkgname}-${pkgver}"::"https://github.com/jmolivas/phpqa/archive/${pkgver}.tar.gz") +md5sums=('f2c424045c703d36774e0fd796fb67b2') build() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}/${_pkgname}-${pkgver}" php /usr/bin/composer install --no-dev } package() { cd "${srcdir}" + install -d "${pkgdir}/usr/share/webapps/${_pkgname}" - cp -r "${_pkgname}" "${pkgdir}/usr/share/webapps/" + cp -r "${_pkgname}-${pkgver}" "${pkgdir}/usr/share/webapps/${_pkgname}" + install -d "${pkgdir}/usr/bin" ln -s "/usr/share/webapps/${_pkgname}/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" } |