# Template file for 'php-apcu' pkgname=php-apcu version=5.1.22 revision=1 build_wrksrc=apcu-$version build_style=gnu-configure make_check_target=test hostmakedepends="autoconf pcre2-devel php-devel" makedepends="php-devel" depends="php>=7.4.3" short_desc="In-memory key-value store for PHP" maintainer="Enno Boland " license="PHP-3.01" homepage="https://pecl.php.net/package/APCu" distfiles="https://pecl.php.net/get/apcu-${version}.tgz" checksum=010a0d8fd112e1ed7a52a356191da3696a6b76319423f7b0dfdeaeeafcb41a1e pre_configure() { phpize } pre_install() { make_install_args="INSTALL_ROOT=$DESTDIR" } post_install() { rm -r $DESTDIR/usr/include }