summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-test-exception/PKGBUILD
blob: 793ad69d826635a36bf353c07494b2ab1181c671 (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
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-test-exception
pkgver=0.43
pkgrel=3
pkgdesc="Perl/CPAN Module Test::Exception : Functions for testing exceptionbased code"
arch=("any")
url="http://search.cpan.org/dist/Test-Exception/"
license=("GPL" "PerlArtistic")
depends=("perl-sub-uplevel")
source=("http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Exception-$pkgver.tar.gz")
md5sums=('572d355026fb0b87fc2b8c64b83cada0')

build() {
  cd "$srcdir"/Test-Exception-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "$srcdir"/Test-Exception-$pkgver
  make install DESTDIR="$pkgdir"
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}