From b2c405418c056a400e865b195bd7ea6f9c2c55d4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 25 Jul 2013 07:32:33 +0000 Subject: main/perl-test-inter: upgrade to 1.05 --- main/perl-test-inter/APKBUILD | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/main/perl-test-inter/APKBUILD b/main/perl-test-inter/APKBUILD index 4a28a8c3b..f9aeb6402 100644 --- a/main/perl-test-inter/APKBUILD +++ b/main/perl-test-inter/APKBUILD @@ -1,37 +1,40 @@ -# Contributor: Mika Havela -# Maintainer: Mika Havela +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Natanael Copa pkgname=perl-test-inter -_realname=Test-Inter -pkgver=1.03 +_pkgreal=Test-Inter +pkgver=1.05 pkgrel=0 -pkgdesc="Perl - Framework for more readable interactive test scripts" -url="http://search.cpan.org/~sbeck/$_realname-$pkgver/" +pkgdesc="framework for more readable interactive test scripts" +url="http://search.cpan.org/dist/Test-Inter/" arch="noarch" -license="Artistic GPL" -depends="perl perl-test-pod perl-pod-coverage perl-test-pod-coverage" -makedepends="perl-dev" -install= -#subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_realname-$pkgver.tar.gz" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_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="02705664dc874bc8b59b9b313a7572f5 Test-Inter-1.03.tar.gz" +md5sums="5c021ced9a642f9bb28aa0b8ac6f50a1 Test-Inter-1.05.tar.gz" +sha256sums="bda95ef503f1c1b39a5cd1ea686d18a67a63b56a8eb458f0614fc2acc51f7988 Test-Inter-1.05.tar.gz" +sha512sums="8c9a2b5be22017f4b3394b009aad26876211bc2973261687b98ab6b2d055875a4920225a6d596ee53b396a5eb240f9376bb2794ce4e64854c9e5ce1e86a5c534 Test-Inter-1.05.tar.gz" -- cgit v1.2.3