blob: 81996a72ceb02a3a3269cb431b072105169b80a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
pkgname=composer
pkgver=1.0.0_beta1
_pkgverreal=${pkgver/_beta/-beta}
pkgrel=0
pkgdesc="Dependency manager for php"
url="https://getcomposer.org/"
arch="noarch"
license="MIT"
depends="php php-phar php-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="ce74af6e6ea8b4a4901e57fda4c5c4f6 composer-1.0.0-beta1.phar"
sha256sums="4344038a546bd0e9e2c4fa53bced1c7faef1bcccab09b2276ddd5cc01e4e022a composer-1.0.0-beta1.phar"
sha512sums="808398d945c8c993976b289af75c96ab1bcdf745b0685f4ae567320457cd88d4433a5ba73740b3a9969feaf85f2600cd7cbab2d15e672d949376c5bfdc96e956 composer-1.0.0-beta1.phar"
|