1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/php8-pecl-runkit7/APKBUILD
2022-08-14 04:10:26 +02:00

35 lines
1 KiB
Text

# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php8-pecl-runkit7
_extname=runkit7
pkgver=4.0.0a6
pkgrel=0
pkgdesc="PHP 8 extension for replace, rename, and remove user defined functions, methods, and constants - PECL"
url="https://pecl.php.net/package/runkit7"
arch="all"
license="BSD-3-Clause"
depends="php8-common"
makedepends="php8-dev"
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir/$_extname-$pkgver"
build() {
phpize8
./configure --prefix=/usr --with-php-config=/usr/bin/php-config8
make
}
check() {
php8 -dextension=modules/$_extname.so --ri $_extname
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
}
package() {
make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/php8/conf.d
install -d $_confdir
echo "extension=$_extname" > $_confdir/$_extname.ini
}
sha512sums="
fd54b395ab07806035d18ba4efa4337304c345d8800063755c94b0b776b254b41ed7932ca0a9e366fe8f0a8e4e184355ed2e1b3452fbe3c45e6fa28750aa956e php-pecl-runkit7-4.0.0a6.tgz
"