blob: 8c750abf63620cab6280e677cc3868283c99b5f0 (
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
|
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
# Maintainer: Dave Hall <skwashd@gmail.com>
pkgname=composer
pkgver=1.5.5
_pkgver=$pkgver
pkgrel=0
pkgdesc="Dependency manager for PHP"
url="https://getcomposer.org/"
arch="noarch"
license="MIT"
depends="php5 php5-phar php5-json php5-openssl php5-zlib"
makedepends=""
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"
php5 $pkgname-$_pkgver.phar -V
}
sha512sums="7d1b518d39054a5848709944769467a5d2c18f580162d5dcc7385a55b7ffedab4422375d9e38d85b432f041b43290deca5f32996b5eb5e97a515ac864153c5d8 composer-1.5.5.phar"
|