blob: 360cc7ec254014e1d011f9dc93c8cafa6902f814 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test2-suite
_pkgreal=Test2-Suite
_author=EXODIST
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.000148
pkgrel=0
pkgdesc="Collection of Perl modules in the Test2 namespace"
url="https://metacpan.org/pod/Test2::Suite"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-importer perl-module-pluggable perl-scope-guard
perl-sub-info perl-term-table perl-test-simple>=1.302176
perl-sub-name perl-term-readkey perl-term-size-any
perl-unicode-linebreak"
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="533206749c2b3ded150c82ca051ac50f6c4fcdccb3c1cecd3dacfc3639e5d2ea3f826e1b2668dddd55ce00e8dcbcb0b00932387934400b38a9302af0acca421e Test2-Suite-0.000148.tar.gz"
|