aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test2-plugin-nowarnings
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-11-01 10:46:39 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-11-01 10:46:39 +0000
commit9c2e9a9a3002335db15c16e85b319649ff8f57c0 (patch)
tree1bcff0f8f21f9e61b5e1fdd257b5edec9531e29f /main/perl-test2-plugin-nowarnings
parenta03719abb0402c7b49e067acebb3f574a67696e5 (diff)
downloadaports-9c2e9a9a3002335db15c16e85b319649ff8f57c0.tar.bz2
aports-9c2e9a9a3002335db15c16e85b319649ff8f57c0.tar.xz
main/perl-test2-plugin-nowarnings: new aport
Diffstat (limited to 'main/perl-test2-plugin-nowarnings')
-rw-r--r--main/perl-test2-plugin-nowarnings/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-test2-plugin-nowarnings/APKBUILD b/main/perl-test2-plugin-nowarnings/APKBUILD
new file mode 100644
index 0000000000..f88e45ec9e
--- /dev/null
+++ b/main/perl-test2-plugin-nowarnings/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-test2-plugin-nowarnings
+_pkgreal="Test2-Plugin-NoWarnings"
+pkgver=0.04
+pkgrel=0
+pkgdesc="Test2::Plugin::NoWarnings perl module"
+url="http://search.cpan.org"
+arch="noarch"
+license="GPL or Artistic 2"
+depends="perl-ipc-run3 perl-test2-suite perl-test-simple"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgreal-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make && make test || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="e26bb1795ee9a0d382063977026cf795 Test2-Plugin-NoWarnings-0.04.tar.gz"
+sha256sums="115be2623661b9acfde6c2f6e7bce260394296b8eda7431228388b37aeed61aa Test2-Plugin-NoWarnings-0.04.tar.gz"
+sha512sums="47f57c5bd5bf78821265c520f8b5736bae4fb254cbef41e270f22b3c50429615e313ef38dfb74201b8b98a85f05c5f4a3e40a7eeb7bc2d9d9937ff081d34465d Test2-Plugin-NoWarnings-0.04.tar.gz"