blob: 2da073e09ba57d9b310887aedc8efe477a4cae03 (
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-trap
_pkgreal=Test-Trap
_author=EBHANSSEN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.3.4
pkgrel=0
pkgdesc="Trap Perl exit codes, exceptions, and output"
url="https://metacpan.org/release/Test-Trap"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-data-dump"
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="cac4412a55511c820a1813a277afa802769a64219bf306190d83fea775c53bcd1d7faa275cb7f1b435e5ae274b6c1f78dd862525a6426040e51fdaf537e720ff Test-Trap-v0.3.4.tar.gz"
|