aboutsummaryrefslogtreecommitdiffstats
path: root/testing/composer/APKBUILD
blob: 814503318221ae5cfee5865e45b1552f171e31bd (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.0.2
_pkgverreal=${pkgver/_beta/-beta}
pkgrel=1
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="fcce0b6badce67e98b1f444946d0d6ab  composer-1.0.2.phar"
sha256sums="264673ccee900b22192605b8c74ecb77c45a5197347edacd142699866c478f4c  composer-1.0.2.phar"
sha512sums="b3ec242ab73236226a6bcfbf6d6cc76bd405fb79942ff7da78369af4a536730444dfb53497cb1d1551870665bd509d4ede62be4489e86ed481af8070539f0a5e  composer-1.0.2.phar"