aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-apcu
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2018-02-23 06:31:11 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-02-23 09:03:13 +0000
commita492a00259d03be66aee896c4e71e63f0622f2aa (patch)
tree00149cc9023a65805c2897ee48f02daa67163da2 /community/php7-apcu
parent3f881fa7748ccbce0a1143277a582d476dde523c (diff)
downloadaports-a492a00259d03be66aee896c4e71e63f0622f2aa.tar.bz2
aports-a492a00259d03be66aee896c4e71e63f0622f2aa.tar.xz
community/php7-apcu: modernize
Diffstat (limited to 'community/php7-apcu')
-rw-r--r--community/php7-apcu/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/community/php7-apcu/APKBUILD b/community/php7-apcu/APKBUILD
index 3d8cc9f642..80452c5a71 100644
--- a/community/php7-apcu/APKBUILD
+++ b/community/php7-apcu/APKBUILD
@@ -17,21 +17,21 @@ builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
- phpize7 || return 1
- ./configure --prefix=/usr --with-php-config=php-config7 || return 1
- make || return 1
+ phpize7
+ ./configure --prefix=/usr --with-php-config=php-config7
+ make
}
check() {
cd "$builddir"
- NO_INTERACTION=1 make test
+ make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
package() {
cd "$builddir"
- make INSTALL_ROOT="$pkgdir"/ install || return 1
- install -d "$pkgdir"/etc/php7/conf.d || return 1
+ make INSTALL_ROOT="$pkgdir"/ install
+ install -d "$pkgdir"/etc/php7/conf.d
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
}