summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-test-warn/PKGBUILD
blob: 1b5626dd8c518ffa158f4ebac6125af7daab9133 (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
# $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
}