aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-exception
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-11-11 12:19:31 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-11-11 12:19:31 +0100
commit2cfc59afaf67dd069867b9a9389b30404c1664d4 (patch)
treebf13ad2dee1865920b2dd4bd8000a67ea2a39736 /main/perl-test-exception
parentc5c9f8724693b90011b47329c9504b579199ea7c (diff)
downloadaports-2cfc59afaf67dd069867b9a9389b30404c1664d4.tar.bz2
aports-2cfc59afaf67dd069867b9a9389b30404c1664d4.tar.xz
main/perl-test-exception: upgrade to 0.40
Diffstat (limited to 'main/perl-test-exception')
-rw-r--r--main/perl-test-exception/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/main/perl-test-exception/APKBUILD b/main/perl-test-exception/APKBUILD
index e878ff879c..9ffb6f2f99 100644
--- a/main/perl-test-exception/APKBUILD
+++ b/main/perl-test-exception/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-exception
_pkgreal=Test-Exception
-pkgver=0.35
+pkgver=0.40
pkgrel=0
pkgdesc="Perl - Test exception based code"
url="http://search.cpan.org/dist/Test-Exception/"
@@ -20,22 +20,21 @@ _builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- ./Build && ./Build test
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make || return 1
}
package() {
cd "$_builddir"
- ./Build install destdir="$pkgdir" || return 1
+ make install DESTDIR=$pkgdir
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="d774ff26e5fcd67d6364a990b61e62ca Test-Exception-0.35.tar.gz"
-sha256sums="a84b71dfba618d76c943e33322d0e2603ee4f9a7e4389870ad727396bf878d2a Test-Exception-0.35.tar.gz"
-sha512sums="429197a6bca77e86248bacd2b0e3a9fad340064eb9c443c1aecd305ed8f76d338c648b6001ee4a00f95e25b697ecd887541d5fa5acb04fe3bccee6c02fefa056 Test-Exception-0.35.tar.gz"
+md5sums="29993e711cf671f8f2ec759f410de681 Test-Exception-0.40.tar.gz"
+sha256sums="d92ccb566d93140abc93b07ec4c13e9b14c8f8f7d7858a2ab575d83b3bb51b26 Test-Exception-0.40.tar.gz"
+sha512sums="cf85ef0d1991b0797a5823f827a9ad33ceac78f163b97afab19e9c3a11e3cf7505c5a37518dadb5636db42f0337f53df8e0045a5f3fe2200159ee4d83a591902 Test-Exception-0.40.tar.gz"