summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-test-warn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules/perl-test-warn/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-test-warn/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-test-warn/PKGBUILD b/abs/core/perl_modules/perl-test-warn/PKGBUILD
new file mode 100644
index 0000000..1b5626d
--- /dev/null
+++ b/abs/core/perl_modules/perl-test-warn/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 70452 2012-05-07 13:45:39Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Firmicus <francois.archlinux.org>
+
+pkgname=perl-test-warn
+pkgver=0.24
+pkgrel=1
+pkgdesc="Perl extension to test methods for warnings "
+arch=(any)
+url="http://search.cpan.org/~CHORNY/Test-Warn"
+license=('GPL' 'PerlArtistic')
+depends=('perl-tree-dag-node' 'perl-sub-uplevel>=0.12' 'perl>=5.10.0')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Test-Warn-$pkgver.tar.gz)
+md5sums=('a27990b62f8fd0aa290bb617ae0157a5')
+
+build() {
+ cd $srcdir/Test-Warn-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd $srcdir/Test-Warn-$pkgver
+ make install DESTDIR=$pkgdir
+ find $pkgdir -name '.packlist' -delete
+ find $pkgdir -name '*.pod' -delete
+}