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

Nathan Johnson
Details
Message ID
<1457050892-29441-1-git-send-email-nathan@nathanjohnson.info>
Sender timestamp
1457050892
DKIM signature
missing
Download raw message
Patch: +28 -0
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 <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"
-- 
2.6.4



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---