aboutsummaryrefslogtreecommitdiffstats
path: root/testing/composer/APKBUILD
blob: 30734089750c2f6b6a1ebe6b1f9a95502d39523f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
# Maintainer: Dave Hall <skwashd@gmail.com>
pkgname=composer
pkgver=1.5.0
_pkgver=$pkgver
pkgrel=0
pkgdesc="Dependency manager for PHP"
url="https://getcomposer.org/"
arch="noarch"
license="MIT"
depends="php5 php5-phar php5-json"
makedepends=""
source="$pkgname-$_pkgver.phar::https://getcomposer.org/download/$_pkgver/$pkgname.phar"

package() {
	install -m 0755 -D "$srcdir"/$pkgname-$_pkgver.phar "$pkgdir"/usr/bin/$pkgname
}

sha512sums="e59964234cd9089fd71d944ca31a4a0550bf7da1030403a10a227abde45d3e21fb2aa173c2b39a6bd3223b19133219ce709a9749a49d63907f3a71f3fb351f7a  composer-1.5.0.phar"