aboutsummaryrefslogtreecommitdiffstats
path: root/testing/composer
diff options
context:
space:
mode:
Diffstat (limited to 'testing/composer')
-rw-r--r--testing/composer/APKBUILD17
1 files changed, 5 insertions, 12 deletions
diff --git a/testing/composer/APKBUILD b/testing/composer/APKBUILD
index a33f8cbfe2..08441c3359 100644
--- a/testing/composer/APKBUILD
+++ b/testing/composer/APKBUILD
@@ -2,25 +2,18 @@
# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
pkgname=composer
pkgver=1.2.0
-_pkgverreal=${pkgver}
+_pkgver=$pkgver
pkgrel=0
-pkgdesc="Dependency manager for php"
+pkgdesc="Dependency manager for PHP"
url="https://getcomposer.org/"
arch="noarch"
license="MIT"
depends="php5 php5-phar php5-json"
-depends_dev=""
-makedepends="$depends_dev $depends"
-install=""
-subpackages=""
-source="${pkgname}-${_pkgverreal}.phar::https://getcomposer.org/download/${_pkgverreal}/${pkgname}.phar"
-
-builddir="$srcdir"
+makedepends=""
+source="$pkgname-$_pkgver.phar::https://getcomposer.org/download/$_pkgver/$pkgname.phar"
package() {
- cd $builddir
- mkdir -p ${pkgdir}/usr/bin
- install -m 0755 "${pkgname}"-"${_pkgverreal}".phar $pkgdir/usr/bin/"${pkgname}"
+ install -m 0755 -D "$srcdir"/$pkgname-$_pkgver.phar "$pkgdir"/usr/bin/$pkgname
}
md5sums="df47dc307fa614daa5a10423bdf4e1bb composer-1.2.0.phar"