blob: a33560a6ee7ea5d5a55fbf589a100dd7b8b384f8 (
plain)
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
|
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test-output
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test-Output
pkgver=1.033
pkgrel=0
pkgdesc="Utilities to test STDOUT and STDERR messages."
url="https://metacpan.org/release/Test-Output/"
arch="noarch"
license="Artistic-2.0"
depends="perl perl-capture-tiny perl-sub-exporter"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-Output-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="cc6e94baa5163e2ca0c23d63a6b505da207ed7f436bf9a1a77234ad898c34ae4d81ac42f17d1b8a73a223fd19ce1d1f66f3eef0fc852bb712f4f925a77f29820 Test-Output-1.033.tar.gz"
|