aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-class-load
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-04-20 06:21:56 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-04-20 06:21:56 +0000
commit65c8f4c1b378422478ac67877b69fb357066833b (patch)
tree8cccc54d6ed92c79019bceb5d247b881e556cfd5 /community/perl-class-load
parentaa9db5bb80bfb46969c6ac22318697738a1bcac0 (diff)
downloadaports-65c8f4c1b378422478ac67877b69fb357066833b.tar.bz2
aports-65c8f4c1b378422478ac67877b69fb357066833b.tar.xz
community/perl-class-load: upgrade to 0.24
Diffstat (limited to 'community/perl-class-load')
-rw-r--r--community/perl-class-load/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/community/perl-class-load/APKBUILD b/community/perl-class-load/APKBUILD
index 9442de4c41..7fef62465e 100644
--- a/community/perl-class-load/APKBUILD
+++ b/community/perl-class-load/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-class-load
_pkgreal=Class-Load
-pkgver=0.23
+pkgver=0.24
pkgrel=0
pkgdesc="a working (require "Class::Name") and more"
url="http://search.cpan.org/dist/Class-Load/"
@@ -11,12 +11,18 @@ arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-module-runtime perl-module-implementation perl-package-stash perl-data-optlist perl-try-tiny"
cpanmakedepends="perl-test-requires perl-test-fatal perl-test-without-module"
+checkdepends="perl-test-needs"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
+check() {
+ cd "$builddir"
+ make test
+}
+
prepare() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
@@ -26,15 +32,13 @@ prepare() {
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- make && make test
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="080973026b82051117b6c18f5d77aaa9 Class-Load-0.23.tar.gz"
-sha256sums="f2bca579e72ea96c6b1c5ebc86dfa1929062c412443277f0bc0437e50874b28f Class-Load-0.23.tar.gz"
-sha512sums="c4e39a0b53dcb9e91c6ac160b15d253aa257fc327c2f4e333b8a3689a6c697412385d47d0a52e55a9420b8cc1a7f46d8d0c1ff54f13ae2a88e0f9df8935cffed Class-Load-0.23.tar.gz"
+sha512sums="42459727fc622334336aedaa49e3dfd1aa92103c838a33b30ac61d9d9fe74512f7b1012b3c20fd1c4eaab1456545feab4d9d22b91162ecddd4683defc1b987eb Class-Load-0.24.tar.gz"