aboutsummaryrefslogtreecommitdiffstats
path: root/testing/composer
diff options
context:
space:
mode:
Diffstat (limited to 'testing/composer')
-rw-r--r--testing/composer/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/composer/APKBUILD b/testing/composer/APKBUILD
index 7773f56e95..81996a72ce 100644
--- a/testing/composer/APKBUILD
+++ b/testing/composer/APKBUILD
@@ -1,12 +1,12 @@
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
pkgname=composer
-pkgver=1.0.0
-_pkgverreal=1.0.0-beta1
+pkgver=1.0.0_beta1
+_pkgverreal=${pkgver/_beta/-beta}
pkgrel=0
pkgdesc="Dependency manager for php"
url="https://getcomposer.org/"
-arch="all"
+arch="noarch"
license="MIT"
depends="php php-phar php-json"
depends_dev=""
@@ -15,10 +15,10 @@ install=""
subpackages=""
source="${pkgname}-${_pkgverreal}.phar::https://getcomposer.org/download/${_pkgverreal}/${pkgname}.phar"
-_builddir="$srcdir"
+builddir="$srcdir"
package() {
- cd $_builddir
+ cd $builddir
mkdir -p ${pkgdir}/usr/bin
install -m 0755 "${pkgname}"-"${_pkgverreal}".phar $pkgdir/usr/bin/"${pkgname}"
}