blob: f2e5f8580e5e8eb5a4e9c493bfdb527a36fc0bdb (
plain) (
tree)
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-simple
_pkgreal=Test-Simple
_author=EXODIST
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.302171
pkgrel=0
pkgdesc="Basic utilities for writing Perl tests"
url="https://metacpan.org/release/Test-Simple"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
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="abae294e5c941c807b08ceafb2b30603c013fa669e9e6605c3495f6468a65303d5a639af719651b1f0bab6ea10771fc38cd2443a93142511ee27a1cd840d7ef9 Test-Simple-1.302171.tar.gz"
|