blob: 4f25e61534f3efad7862725c9fce79a68661aa3d (
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$
# 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.32
pkgrel=2
pkgdesc="Perl extension to test methods for warnings "
arch=(any)
url="http://search.cpan.org/dist/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/B/BI/BIGJ/Test-Warn-$pkgver.tar.gz")
sha256sums=('2fc516e71f9ef453be22a4619d91eb3f78df414a57dfa0fd745d3bff50bf73d2')
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
}
|