# Contributor: Andy Blyler # Contributor: Fabio Ribeiro # Maintainer: Andy Postnikov pkgname=php82-pecl-ast _extname=ast pkgver=1.1.0 pkgrel=1 pkgdesc="PHP extension exposing PHP 8.2 abstract syntax tree - PECL" url="https://pecl.php.net/package/ast" arch="all" license="BSD-3-Clause" _phpv=82 _php=php$_phpv depends="$_php-common" makedepends="$_php-dev" source="php-pecl-$_extname-$pkgver.tar.gz::https://pecl.php.net/get/$_extname-$pkgver.tgz" builddir="$srcdir"/$_extname-$pkgver build() { phpize$_phpv ./configure --prefix=/usr --with-php-config=/usr/bin/php-config$_phpv make } check() { make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff } package() { make INSTALL_ROOT="$pkgdir" install local _confdir="$pkgdir"/etc/$_php/conf.d install -d $_confdir echo "extension=$_extname" > $_confdir/$_extname.ini } sha512sums=" 9049a6f1f3312c9efc68dd4f4e324bd9c2fbc2c97d1e9aecf1f808f91002bf5cfc20247560b288cc6581f2651d9419470e349713680da64d26a8eba77c8eac64 php-pecl-ast-1.1.0.tar.gz "