aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-exception
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-11 14:24:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-11 14:24:41 +0000
commita5ff5c035a086b3bdc1299197c019040993731d9 (patch)
tree42574bbca5845a4241eb7fa47d042849a99ddb5f /main/perl-test-exception
parent334be340e9bbb6b3227c23ea00b13e42d7936475 (diff)
downloadaports-a5ff5c035a086b3bdc1299197c019040993731d9.tar.bz2
aports-a5ff5c035a086b3bdc1299197c019040993731d9.tar.xz
main/perl-test-exception: upgrade to 0.35 and claim maintainership
Diffstat (limited to 'main/perl-test-exception')
-rw-r--r--main/perl-test-exception/APKBUILD43
1 files changed, 23 insertions, 20 deletions
diff --git a/main/perl-test-exception/APKBUILD b/main/perl-test-exception/APKBUILD
index 1f68c0cf00..e878ff879c 100644
--- a/main/perl-test-exception/APKBUILD
+++ b/main/perl-test-exception/APKBUILD
@@ -1,38 +1,41 @@
-# Contributor: Mika Havela <mika.havela@gmail.com>
-# Maintainer: Mika Havela <mika.havela@gmail.com>
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-exception
-_realname=Test-Exception
-pkgver=0.32
+_pkgreal=Test-Exception
+pkgver=0.35
pkgrel=0
pkgdesc="Perl - Test exception based code"
-url="http://search.cpan.org/~adie/$_realname-$pkgver/"
+url="http://search.cpan.org/dist/Test-Exception/"
arch="noarch"
-license="Artistic GPL"
-depends="perl perl-sub-uplevel"
-makedepends="perl-dev"
-#subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/$_realname-$pkgver.tar.gz"
+license="GPL PerlArtistic"
+cpandepends="perl-sub-uplevel"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_realname-$pkgver"
+_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"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
- # creates file collision among perl modules
- find "$pkgdir" -name perllocal.pod -delete
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="50e985a335842540b69ea886eeed8a7f Test-Exception-0.32.tar.gz"
-sha256sums="ba4427e6004797ece8dce93c61d1d6c82df891b0f017e7d4a5c2505fa05c5a47 Test-Exception-0.32.tar.gz"
-sha512sums="fd394c2e3d24fc822810b77bd3bfe12ca75f59519ac0a0307f028be84a48386d12273967f0431f8c3a6671762c6426523420f620621ba7332c3268bc3a0706af Test-Exception-0.32.tar.gz"
+md5sums="d774ff26e5fcd67d6364a990b61e62ca Test-Exception-0.35.tar.gz"
+sha256sums="a84b71dfba618d76c943e33322d0e2603ee4f9a7e4389870ad727396bf878d2a Test-Exception-0.35.tar.gz"
+sha512sums="429197a6bca77e86248bacd2b0e3a9fad340064eb9c443c1aecd305ed8f76d338c648b6001ee4a00f95e25b697ecd887541d5fa5acb04fe3bccee6c02fefa056 Test-Exception-0.35.tar.gz"