aboutsummaryrefslogtreecommitdiffstats
path: root/testing/composer/APKBUILD
blob: 58366158b7cb1bc2c9ca120ce66d13d0e69f1a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
pkgname=composer
pkgver=1.1.2
_pkgverreal=${pkgver}
pkgrel=0
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"

package() {
	cd $builddir
	mkdir -p ${pkgdir}/usr/bin
	install -m 0755 "${pkgname}"-"${_pkgverreal}".phar $pkgdir/usr/bin/"${pkgname}"
}

md5sums="5d80fd95d9533850cf31359905a79ec1  composer-1.1.2.phar"
sha256sums="7af2409080619e2ba98e78d7675710c23acf2ccf088d4439a4f79c33ed85c505  composer-1.1.2.phar"
sha512sums="d7ad4b49d14593dacfa93cc2cc2ebd7dd9a4ad6d8fc03eae3f442f8ce5444b45530fea27dbeeafe3258f3f2dd163cffda53d7c1fe39e155675f0f022ae7fcee9  composer-1.1.2.phar"