diff options
author | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-03-14 09:03:01 -0400 |
---|---|---|
committer | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-03-14 09:03:01 -0400 |
commit | 2b4e8b213e93ded96066dcf854ede008ed9484b7 (patch) | |
tree | 13a558297b80b0fadbce21a852d6dcd2fc1e9ee3 | |
parent | 43983e3e6a98ad86500b1dbff7c3f345c001feed (diff) | |
download | aports-2b4e8b213e93ded96066dcf854ede008ed9484b7.tar.bz2 aports-2b4e8b213e93ded96066dcf854ede008ed9484b7.tar.xz |
testing/perl-test-exception: new aport
-rw-r--r-- | testing/perl-test-exception/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/perl-test-exception/APKBUILD b/testing/perl-test-exception/APKBUILD new file mode 100644 index 0000000000..27edda25a6 --- /dev/null +++ b/testing/perl-test-exception/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: +pkgname=perl-test-exception +_pkgreal=Test-Exception +pkgver=0.31 +pkgrel=0 +pkgdesc="Perl module for testing exception-using code" +url="http://search.cpan.org/dist/Test-Exception/" +arch="noarch" +license="GPL PerlArtistic" +depends= +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" -name perllocal.pod -delete +} + +md5sums="adb57ca7614d15e5b307bf5e024b35a8 Test-Exception-0.31.tar.gz" |