# Contributor: Nathan Johnson # Maintainer: Nathan Johnson pkgname=composer pkgver=1.0.2 _pkgverreal=${pkgver/_beta/-beta} pkgrel=1 pkgdesc="Dependency manager for php" url="https://getcomposer.org/" arch="noarch" license="MIT" depends="php5 php5-phar php5-json" depends_dev="" makedepends="$depends_dev $depends" install="" subpackages="" source="${pkgname}-${_pkgverreal}.phar::https://getcomposer.org/download/${_pkgverreal}/${pkgname}.phar" builddir="$srcdir" package() { cd $builddir mkdir -p ${pkgdir}/usr/bin install -m 0755 "${pkgname}"-"${_pkgverreal}".phar $pkgdir/usr/bin/"${pkgname}" } md5sums="fcce0b6badce67e98b1f444946d0d6ab composer-1.0.2.phar" sha256sums="264673ccee900b22192605b8c74ecb77c45a5197347edacd142699866c478f4c composer-1.0.2.phar" sha512sums="b3ec242ab73236226a6bcfbf6d6cc76bd405fb79942ff7da78369af4a536730444dfb53497cb1d1551870665bd509d4ede62be4489e86ed481af8070539f0a5e composer-1.0.2.phar"