aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test2-plugin-nowarnings/APKBUILD
blob: b98375f97a4c82c8da4a64cf0cbed3f5fff338f1 (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-test2-plugin-nowarnings
_pkgreal="Test2-Plugin-NoWarnings"
pkgver=0.06
pkgrel=0
pkgdesc="Test2::Plugin::NoWarnings perl module"
url="http://search.cpan.org/dist/Test2-Plugin-NoWarnings"
arch="noarch"
license="GPL or Artistic-2.0"
depends="perl-ipc-run3 perl-test2-suite perl-test-simple"
makedepends="perl-dev"
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="aed9a3769085028adffd0aa7cbbe2d7d8b89b5f4768e47ae4155dcc1f4aa8fd47319ae7c87ddbc1ed08ca99e1d703eebb74977e88696ea4dcc1104a53332ade2  Test2-Plugin-NoWarnings-0.06.tar.gz"