blob: 8499d5e311b7d46802a9e624751033a4c2bb046d (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-class
_pkgreal=Test-Class
_author=SZABGAB
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.52
pkgrel=0
pkgdesc="Create Perl test classes in xUnit/JUnit style"
url="https://metacpan.org/release/Test-Class"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-module-runtime perl-mro-compat perl-try-tiny"
checkdepends="perl-test-exception"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="94d38a7cc93b36ea45c0c209afa7fcba01f45006b8ade638e9591be2510ca0d89c04e0dc271ede870e00f834626d4d271d5799b5044060e9f9b670459376b64f Test-Class-0.52.tar.gz"
|