Subject: [alpine-aports] [PATCH] testing/composer: new aport

From: Nathan Johnson <[email-masked]>
Date: Thu, 3 Mar 2016 18:21:32 -0600

https://getcomposer.org/
Dependency Manager for PHP
---
 testing/composer/APKBUILD | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 testing/composer/APKBUILD

diff --git a/testing/composer/APKBUILD b/testing/composer/APKBUILD
new file mode 100644
index 0000000..7773f56
--- /dev/null
+++ b/testing/composer/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Nathan Johnson <[email-masked]>
+# Maintainer: Nathan Johnson <[email-masked]>
+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"
-- 
2.6.4

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---