# Contributor: Andy Postnikov # Maintainer: Andy Postnikov pkgname=php82-pecl-immutable_cache _extname=immutable_cache pkgver=6.1.0 pkgrel=0 pkgdesc="PHP 8.2 extension shared memory cache of immutable values - PECL" url="https://pecl.php.net/package/immutable_cache" arch="all" license="PHP-3.01" _phpv=82 _php=php$_phpv depends="$_php-common" makedepends="$_php-dev" source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz" builddir="$srcdir"/$_extname-$pkgver build() { phpize$_phpv ./configure --prefix=/usr --with-php-config=php-config$_phpv make } check() { make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff $_php -dextension=modules/$_extname.so --ri $_extname } package() { make INSTALL_ROOT="$pkgdir" install local _confdir="$pkgdir"/etc/$_php/conf.d install -d $_confdir echo "extension=$_extname" > $_confdir/$_extname.ini } sha512sums=" 7e3c8cc0bd5f7bbb94adf676d598cc0258d2f105cb56aeb355cb94c955d10d74520f6444f8123d9a7c579663e6e3510f0260b3450fa83d283a30972cce119aff php-pecl-immutable_cache-6.1.0.tgz "