PKGBUILDs/community/perl-test-exception/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
830 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-test-exception
pkgver=0.27
pkgrel=1
pkgdesc="Perl/CPAN Module Test::Exception : Functions for testing exceptionbased code"
arch=("i686" "x86_64")
url="http://search.cpan.org/~adie/"
license=("GPL" "Artistic")
makedepends=("perl-sub-uplevel")
depends=("perl-sub-uplevel")
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-$pkgver.tar.gz")
md5sums=('dd9383e0bb207c7b0a04d6ba990a5909')
build() {
cd $startdir/src/Test-Exception-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}