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