# Contributor: Nathan Johnson # Maintainer: Dave Hall pkgname=composer pkgver=1.9.0 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="e3d936e781aa096f5729f68aef6c9443fb36a248bd76242c31adb6dad70e625a4e27493d285273dbd8667f947b5cd437f2782e9140cd24ab1786ddf1659d400a composer-1.9.0.phar"