blob: 420295109a7ce40337d57d113239c00ff6b7dc77 (
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
35
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-test2-plugin-nowarnings
_pkgreal="Test2-Plugin-NoWarnings"
pkgver=0.07
pkgrel=0
pkgdesc="Test2::Plugin::NoWarnings perl module"
url="http://search.cpan.org/dist/Test2-Plugin-NoWarnings"
arch="noarch"
license="Artistic-2.0"
depends="perl-ipc-run3 perl-test2-suite perl-test-simple"
makedepends="perl-dev"
checkdepends="perl-capture-tiny"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="fe9f9c9ca7372177655979a222688753b8c3b0affdcf19866ebe758b19e0c6082128687051588869a0fd41170d244ee0876d64306604a9a19bcd92d1ef3db748 Test2-Plugin-NoWarnings-0.07.tar.gz"
|