mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
23 lines
830 B
Bash
23 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
|
||
|
}
|