aboutsummaryrefslogtreecommitdiffstats
path: root/testing/composer/APKBUILD
blob: a33f8cbfe2fa24651afb43da3c184b263309d34f (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.2.0
_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="df47dc307fa614daa5a10423bdf4e1bb  composer-1.2.0.phar"
sha256sums="dc80131545ed7f7b1369ae058824587f0718892f6a84bd86cfb0f28ab5e39095  composer-1.2.0.phar"
sha512sums="21e6bc3672a3d7df683d1ff85a5f89a857a24e5cf563cc714e9331d9b76bdfc232494599c5188604dce18c6edd0ba8d015ca738537d99e985c58d94b9b466f43  composer-1.2.0.phar"