# Contributor: Nathan Johnson # Maintainer: Dave Hall pkgname=composer pkgver=1.8.4 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/$pkgname.phar" package() { install -m 0755 -D "$srcdir"/$pkgname-$pkgver.phar "$pkgdir"/usr/bin/$pkgname } check() { cd "$srcdir" php7 $pkgname-$pkgver.phar -Vn } sha512sums="e5edc837f087ed29fea0e086a77c0685c09c6a6f7c93800b65d6ebc56eb71acfbd9074c818162bbbe2c88eca653b991787c5eba5b58c042b2612d6e1a5ceb733 composer-1.8.4.phar"