mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
30 lines
707 B
Text
30 lines
707 B
Text
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=phpunit
|
|
pkgver=9.5.21
|
|
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="
|
|
763032fae508a0bd50edecb993c82005eaed895fa0e9db2f66016c7bb97f4071cede2458438efb9e8ce1c8ffaa4cfa9faf99067ef8655f7062c47fd1a79ee012 phpunit-9.5.21.phar
|
|
"
|