# Contributor: TBK # Maintainer: Andy Postnikov pkgname=php84-pecl-maxminddb _extname=maxminddb pkgver=1.12.1 pkgrel=0 pkgdesc="PHP 8.4 MaxMind DB Reader extension - PECL" url="https://pecl.php.net/package/maxminddb" arch="all" license="Apache-2.0" _phpv=84 _php=php$_phpv depends="$_php-bcmath" makedepends="$_php-dev libmaxminddb-dev" source="php-pecl-$_extname-$pkgver.tar.gz::https://pecl.php.net/get/$_extname-$pkgver.tgz" builddir="$srcdir/$_extname-$pkgver/ext" build() { phpize$_phpv ./configure --prefix=/usr --with-php-config=/usr/bin/php-config$_phpv make } check() { make test NO_INTERACTION=1 REPORT_EXIT_STATUS=1 } package() { make INSTALL_ROOT="$pkgdir" install local confdir="$pkgdir"/etc/$_php/conf.d install -d $confdir echo "extension=maxminddb" > $confdir/maxminddb.ini } sha512sums=" f1462a3984576f28e609294573c96b72dc90af47d80e3b9dad32b4bbe18d5a903dab85ceeb2f2954bbb78f49d75fd1a9b2e364b1b2e8cfbc2402ed3b7cc5efbf php-pecl-maxminddb-1.12.1.tar.gz "