diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 01:45:46 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 01:45:46 +0000 |
commit | 4648f3ca573c17a3c2d1465db63f3b45b77a26b8 (patch) | |
tree | f6edf09fe68c22a98ebf203f49549db53334d173 /user/perl-test-run-plugin-bof/APKBUILD | |
parent | 1d9d9eb3b4c2295300d6338de6a23d7eaaa9b9b3 (diff) | |
download | packages-4648f3ca573c17a3c2d1465db63f3b45b77a26b8.tar.gz packages-4648f3ca573c17a3c2d1465db63f3b45b77a26b8.tar.bz2 packages-4648f3ca573c17a3c2d1465db63f3b45b77a26b8.tar.xz packages-4648f3ca573c17a3c2d1465db63f3b45b77a26b8.zip |
user/perl-test-run-plugin-breakonfailure: new package
Diffstat (limited to 'user/perl-test-run-plugin-bof/APKBUILD')
-rw-r--r-- | user/perl-test-run-plugin-bof/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-test-run-plugin-bof/APKBUILD b/user/perl-test-run-plugin-bof/APKBUILD new file mode 100644 index 000000000..e776778b6 --- /dev/null +++ b/user/perl-test-run-plugin-bof/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-run-plugin-breakonfailure +pkgver=0.0.5 +pkgrel=0 +pkgdesc="Stop processing entire Test::Run suite on single failure" +url="https://metacpan.org/release/Test-Run-Plugin-BreakOnFailure" +arch="noarch" +license="MIT" +depends="perl-moose perl-mro-compat perl-test-run perl-test-run-cmdline" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Run-Plugin-BreakOnFailure-v$pkgver.tar.gz" +builddir="$srcdir/Test-Run-Plugin-BreakOnFailure-v$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="a3e25847e0277ea32803b0eec68061471644f7bba03d9dd558d5a15c6dbe8615d933f6d4ee6851f217511434be933be1a848ee0d9b46c545ae37a0abc59a0a72 Test-Run-Plugin-BreakOnFailure-v0.0.5.tar.gz" |