From 1dbb73162873d54ab8d6f9864012fcdcdab6e7f6 Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Sun, 3 Dec 2017 20:43:59 +0200 Subject: testing/composer: add trivial check() --- testing/composer/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/composer/APKBUILD b/testing/composer/APKBUILD index e654c5464e..8c750abf63 100644 --- a/testing/composer/APKBUILD +++ b/testing/composer/APKBUILD @@ -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" -- cgit v1.2.3