# Maintainer: Andy Postnikov pkgname=php81-pecl-zephir_parser _extname=zephir_parser pkgver=1.4.1 pkgrel=0 pkgdesc="Zephir Parser is a code parser, delivered as a C extension for the PHP 8.1 language - PECL" url="https://pecl.php.net/package/zephir_parser" arch="all" license="MIT" depends="php81-common" makedepends="php81-dev" source="php-pecl-$_extname-$pkgver.tar.gz::https://pecl.php.net/get/$_extname-$pkgver.tgz failed-tests.patch " builddir="$srcdir"/$_extname-$pkgver build() { phpize81 ./configure --prefix=/usr --with-php-config=/usr/bin/php-config81 make } check() { echo "$pkgver" > VERSION make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS="${TESTS:- --show-diff }" } package() { make INSTALL_ROOT="$pkgdir" install local _confdir="$pkgdir"/etc/php81/conf.d install -d $_confdir echo "extension=$_extname" > $_confdir/$_extname.ini } sha512sums=" 0e55cec4e0af153953b4c1b6c98fe2fc242188f1eb274d31fd4f922343cdc95e7032d09551c206c40d5bcf0c10b06720e0d2dc8f30d39e2d2c5f44ee0bfc8243 php-pecl-zephir_parser-1.4.1.tar.gz a82a7086fdb5d771e40abc1ecd571ef99ed113d702938821a6bde3959ab2f85074b20af9b02b0fd7270a8f63be788e75852555c9310c5b565b3ece7163fcb8b2 failed-tests.patch "