summaryrefslogtreecommitdiff
path: root/user/perl-test-run-plugin-bof/APKBUILD
blob: 8e04f65e7c495b47de2d9c97f19c5ffb6570c73b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-test-run-plugin-breakonfailure
_pkgreal=Test-Run-Plugin-BreakOnFailure
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0.6
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 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/$_a/$_au/$_author/$_pkgreal-v$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-v$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="dd8564d82466abdce2bb08324bec2a9fd45196955b61d375958a4ae718a7dc90a97c78e10925a479561a8456824a6bc9caf481284cab3ce7884d294d875546f3  Test-Run-Plugin-BreakOnFailure-v0.0.6.tar.gz"