mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/composer: add trivial check()
This commit is contained in:
parent
d7192739d7
commit
1dbb731628
@ -8,7 +8,7 @@ pkgdesc="Dependency manager for PHP"
|
||||
url="https://getcomposer.org/"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="php5 php5-phar php5-json"
|
||||
depends="php5 php5-phar php5-json php5-openssl php5-zlib"
|
||||
makedepends=""
|
||||
source="$pkgname-$_pkgver.phar::https://getcomposer.org/download/$_pkgver/$pkgname.phar"
|
||||
|
||||
@ -16,4 +16,9 @@ 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"
|
||||
|
Loading…
Reference in New Issue
Block a user