# Contributor: Nathan Johnson # Maintainer: Dave Hall pkgname=composer pkgver=1.8.0 pkgrel=0 pkgdesc="Dependency manager for PHP" url="https://getcomposer.org/" arch="noarch" license="MIT" depends="php7 php7-phar php7-json php7-openssl" 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 -V } sha512sums="8b0dd173383695c73555259f962c98f088be10ea24a7c534517eb4ee89dfba221962b972ced40e6d88eb0103c53f7d2e7afbc545631c682bc65b0a3c86521b92 composer-1.8.0.phar"