community/php81: exclude zend_test from binaries

This commit is contained in:
Andy Postnikov 2023-12-16 18:36:00 +01:00
parent e65a188766
commit e85e2d055d

View File

@ -27,7 +27,7 @@
pkgname=php81
_pkgreal=php
pkgver=8.1.26
pkgrel=0
pkgrel=1
_apiver=20210902
_suffix=${pkgname#php}
# Is this package the default (latest) PHP version?
@ -349,7 +349,7 @@ _build() {
--with-xsl=shared \
--with-zip=shared \
--with-zlib \
--enable-zend-test \
--enable-zend-test=shared \
"$@"
rm -f modules/* # clean-up possible previous build
make
@ -405,6 +405,7 @@ check() {
package() {
make -j1 INSTALL_ROOT="$pkgdir" install
rm "$pkgdir"/usr/lib/php$_suffix/modules/zend_test.so
install -Dm644 php.ini-production "$pkgdir"/etc/$pkgname/php.ini