# Maintainer: Andy Postnikov pkgname=phpunit pkgver=9.6.7 pkgrel=0 pkgdesc="The PHP Unit Testing framework" url="https://phpunit.de/" arch="noarch" license="BSD-3-Clause" _php=php81 depends="$_php $_php-phar $_php-dom $_php-mbstring $_php-tokenizer $_php-xml $_php-xmlwriter " source="$pkgname-$pkgver.phar::https://phar.phpunit.de/phpunit-$pkgver.phar" check() { $_php "$srcdir"/$pkgname-$pkgver.phar --version } package() { install -m 0755 -D "$srcdir"/$pkgname-$pkgver.phar "$pkgdir"/usr/bin/$pkgname } sha512sums=" 93745e12bb3b142774441e198ca6546736b5706a74dd44153db9579c86609e8cc241deb8b19e773d2652cb4b36e8aaf91b76b8dd3f596dbc03010d1d249f2489 phpunit-9.6.7.phar "