diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 23:20:56 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 23:20:56 +0000 |
commit | 05d831a03f22c9cc5b7b4bb4c63151b16246cfbe (patch) | |
tree | e03c2eefa66a927ef709e06022fce8d49556a6c4 /user/perl-test-run/APKBUILD | |
parent | 0c7784f96a6fbfb9080294c74a7985c2d7b8fdfc (diff) | |
download | packages-05d831a03f22c9cc5b7b4bb4c63151b16246cfbe.tar.gz packages-05d831a03f22c9cc5b7b4bb4c63151b16246cfbe.tar.bz2 packages-05d831a03f22c9cc5b7b4bb4c63151b16246cfbe.tar.xz packages-05d831a03f22c9cc5b7b4bb4c63151b16246cfbe.zip |
user/perl-test-run: new package
Diffstat (limited to 'user/perl-test-run/APKBUILD')
-rw-r--r-- | user/perl-test-run/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/perl-test-run/APKBUILD b/user/perl-test-run/APKBUILD new file mode 100644 index 000000000..a5599f148 --- /dev/null +++ b/user/perl-test-run/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-run +pkgver=0.0304 +pkgrel=0 +pkgdesc="Perl classes to run standard TAP scripts" +url="https://metacpan.org/release/Test-Run" +arch="noarch" +license="MIT" +depends="perl-ipc-system-simple perl-list-moreutils perl-moose + perl-moosex-strictconstructor perl-text-sprintf-named + perl-universal-require" +makedepends="perl-dev" +checkdepends="perl-test-trap" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Run-$pkgver.tar.gz" +builddir="$srcdir/Test-Run-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="05a4f5e621194319263b33a68a5a733062b6f17a0b08c32ad02a1fece4ff7072305ae6305494c9a0d8e03fb9ae2e4b1c9a044e591c1b30968f08adfed0fe3c37 Test-Run-0.0304.tar.gz" |