From 2b4091172ee6f8811e443a5d86f1e78f94293099 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 25 Dec 2014 14:57:47 +0000 Subject: main/perl-class-load: upgrade to 0.22 --- main/perl-class-load/APKBUILD | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'main') diff --git a/main/perl-class-load/APKBUILD b/main/perl-class-load/APKBUILD index e86e647962..374540b40c 100644 --- a/main/perl-class-load/APKBUILD +++ b/main/perl-class-load/APKBUILD @@ -2,39 +2,39 @@ # Maintainer: Natanael Copa pkgname=perl-class-load _pkgreal=Class-Load -pkgver=0.21 +pkgver=0.22 pkgrel=0 -pkgdesc="a working (require "Class::Name") and more" +pkgdesc="A working (require "Class::Name") and more" url="http://search.cpan.org/dist/Class-Load/" arch="noarch" license="GPL PerlArtistic" -cpandepends="perl-try-tiny perl-module-runtime perl-package-stash perl-data-optlist perl-module-implementation" -cpanmakedepends="perl-test-fatal perl-test-requires " +cpandepends="perl-data-optlist perl-module-runtime perl-module-implementation perl-try-tiny perl-namespace-clean perl-package-stash" +cpanmakedepends=" perl-test-fatal perl-test-requires " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Load-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + perl Build.PL installdirs=vendor || return 1 } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + ./Build && ./Build test } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + ./Build install destdir="$pkgdir" || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="67674318b7b47b519abfd9f16292dc35 Class-Load-0.21.tar.gz" -sha256sums="10d9bae402f7e67ef441af1d7222c9d09c2b0818b81c6752c383a2d924c8047c Class-Load-0.21.tar.gz" -sha512sums="7744f1ed4893f6ddb3e9ceaf8e161994d3dc2a02eb66cf95bddcfd4dc4edefee4fca2af599a3387f74fdc94c262456bd017bd4708bc6fbf8c14e583435ff0daa Class-Load-0.21.tar.gz" +md5sums="ad59087e70b0df76d718c90b53e209d5 Class-Load-0.22.tar.gz" +sha256sums="be52db6081b565002d68a1578ed06c7777b8845e92597be47f1c22e90b123111 Class-Load-0.22.tar.gz" +sha512sums="1f61c9ffd0c7d854c830143109f0b0f98a3f9666971d3f0b2567fd97f7aa703bf0bc9f7342f0489d90ac4765d90695a5783f822458e0eb9a6f5cf4c98b465da4 Class-Load-0.22.tar.gz" -- cgit v1.2.3