# Contributor: Nathan Johnson # Maintainer: Dave Hall pkgname=composer pkgver=1.10.1 pkgrel=0 pkgdesc="Dependency manager for PHP" url="https://getcomposer.org/" arch="noarch" license="MIT" depends="php7 php7-phar php7-json php7-openssl php7-mbstring php7-iconv" source="$pkgname-$pkgver.phar::https://getcomposer.org/download/$pkgver/composer.phar" check() { cd "$srcdir" php7 $pkgname-$pkgver.phar -Vn } package() { install -m 0755 -D "$srcdir"/$pkgname-$pkgver.phar "$pkgdir"/usr/bin/$pkgname } sha512sums="bb0fa469b8180ade3feb5736a58f2702b0889b6fc3038efbb962f8fd7a691f9d995f8b121e67f9feb7e409b360a25fae10426545d2dc68e0976be6126d69d8f4 composer-1.10.1.phar"