# Contributor: Nathan Johnson # Maintainer: Andy Postnikov pkgname=php84-pecl-couchbase _extname=couchbase pkgver=4.2.7 pkgrel=0 pkgdesc="PHP 8.4 extension for Couchbase - PECL" url="https://pecl.php.net/package/couchbase" arch="all !riscv64 !ppc64le !s390x !loongarch64" # ftbfs license="Apache-2.0" _phpv=84 _php=php$_phpv depends="$_php-pecl-igbinary" makedepends="$_php-dev openssl-dev>3 linux-headers cmake" 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() { # no tests shipped via PECL $_php -d extension="$builddir"/modules/$_extname.so --ri $_extname } package() { make INSTALL_ROOT="$pkgdir" install local _confdir="$pkgdir"/etc/$_php/conf.d mkdir -p $_confdir echo "extension=$_extname" > $_confdir/$_extname.ini } sha512sums=" 386c76465bbf08ea0d27482739b6ed34ba5f86148d317bbde24cdab30e3a21eb725ba316794bd33d5a2c26506686c5dd61e262fd08b69c06663de36726fac24a php-pecl-couchbase-4.2.7.tgz "