diff options
author | James An | 2015-02-26 21:59:16 -0500 |
---|---|---|
committer | James An | 2015-02-26 21:59:16 -0500 |
commit | 4f525769d3373eaafef6476a2ebf0939855d7655 (patch) | |
tree | 89e157db07237d1cd5010276fb6ee014f22ed31c | |
download | aur-4f525769d3373eaafef6476a2ebf0939855d7655.tar.gz |
Added new AUR package, php-behat.
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..09d404865c4c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = php-behat + pkgdesc = An open source behavior-driven development framework for PHP 5.3 and 5.4 + pkgver = 3.0.15 + pkgrel = 1 + url = http://behat.org + arch = any + license = MIT + depends = php + source = https://github.com/downloads/Behat/Behat/behat.phar + source = https://raw.githubusercontent.com/Behat/Behat/master/LICENSE + md5sums = f0c9117837449fbfcfd32840a7bb66d4 + md5sums = bb73430c2c40651766d639dd4bf7f9e7 + +pkgname = php-behat + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..84cc2afe3f05 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: James An <james@jamesan.ca> + +_pkgname=behat +pkgname="php-$_pkgname" +pkgver=3.0.15 +pkgrel=1 +pkgdesc='An open source behavior-driven development framework for PHP 5.3 and 5.4' +arch=('any') +url="http://$_pkgname.org" +license=('MIT') +depends=('php') +source=( + "https://github.com/downloads/${_pkgname^}/${_pkgname^}/$_pkgname.phar" + "https://raw.githubusercontent.com/${_pkgname^}/${_pkgname^}/master/LICENSE" +) +md5sums=('f0c9117837449fbfcfd32840a7bb66d4' + 'bb73430c2c40651766d639dd4bf7f9e7') + +package() { + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m755 "$_pkgname.phar" "${pkgdir}/usr/share/webapps/bin/$_pkgname.phar" + install -d "${pkgdir}/usr/bin" + ln -s "/usr/share/webapps/bin/$_pkgname.phar" "${pkgdir}/usr/bin/$_pkgname" +} |