community/php82: exclude zend_test from binaries

This commit is contained in:
Andy Postnikov 2023-12-16 18:34:08 +01:00
parent 31b73d4d92
commit e65a188766

View File

@ -27,7 +27,7 @@
pkgname=php82
_pkgreal=php
pkgver=8.2.13
pkgrel=0
pkgrel=1
_apiver=20220829
_suffix=${pkgname#php}
# Is this package the default (latest) PHP version?
@ -332,7 +332,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
@ -388,6 +388,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