aboutsummaryrefslogtreecommitdiffstats
path: root/testing/composer
diff options
context:
space:
mode:
authorNathan Johnson <nathan@nathanjohnson.info>2016-03-03 18:21:32 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-04 08:35:13 +0000
commitc30c6fbb9e094cba4cd6f2adae8dd8f63776affe (patch)
tree1a07050202ab1a2e9098d7bdf669f7b1b57b460c /testing/composer
parentd62ce7e557ef06b03692c272e370346db081de6a (diff)
downloadaports-c30c6fbb9e094cba4cd6f2adae8dd8f63776affe.tar.bz2
aports-c30c6fbb9e094cba4cd6f2adae8dd8f63776affe.tar.xz
testing/composer: new aport
https://getcomposer.org/ Dependency Manager for PHP
Diffstat (limited to 'testing/composer')
-rw-r--r--testing/composer/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/composer/APKBUILD b/testing/composer/APKBUILD
new file mode 100644
index 0000000000..7773f56e95
--- /dev/null
+++ b/testing/composer/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
+# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
+pkgname=composer
+pkgver=1.0.0
+_pkgverreal=1.0.0-beta1
+pkgrel=0
+pkgdesc="Dependency manager for php"
+url="https://getcomposer.org/"
+arch="all"
+license="MIT"
+depends="php php-phar php-json"
+depends_dev=""
+makedepends="$depends_dev $depends"
+install=""
+subpackages=""
+source="${pkgname}-${_pkgverreal}.phar::https://getcomposer.org/download/${_pkgverreal}/${pkgname}.phar"
+
+_builddir="$srcdir"
+
+package() {
+ cd $_builddir
+ mkdir -p ${pkgdir}/usr/bin
+ install -m 0755 "${pkgname}"-"${_pkgverreal}".phar $pkgdir/usr/bin/"${pkgname}"
+}
+
+md5sums="ce74af6e6ea8b4a4901e57fda4c5c4f6 composer-1.0.0-beta1.phar"
+sha256sums="4344038a546bd0e9e2c4fa53bced1c7faef1bcccab09b2276ddd5cc01e4e022a composer-1.0.0-beta1.phar"
+sha512sums="808398d945c8c993976b289af75c96ab1bcdf745b0685f4ae567320457cd88d4433a5ba73740b3a9969feaf85f2600cd7cbab2d15e672d949376c5bfdc96e956 composer-1.0.0-beta1.phar"