aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-sharedfork/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-14 12:35:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-14 12:35:47 +0000
commit5b39695836bc4b66f2508d0c493efa2c47ebdcba (patch)
treede52794bb60a45052925561d8175ac74a91e03ca /main/perl-test-sharedfork/APKBUILD
parent4c54db41c47f6a5662f1f02b193c8a7e0fceb2e6 (diff)
downloadaports-5b39695836bc4b66f2508d0c493efa2c47ebdcba.tar.bz2
aports-5b39695836bc4b66f2508d0c493efa2c47ebdcba.tar.xz
main/perl-test-sharedfork: upgrade to 0.24
Diffstat (limited to 'main/perl-test-sharedfork/APKBUILD')
-rw-r--r--main/perl-test-sharedfork/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/perl-test-sharedfork/APKBUILD b/main/perl-test-sharedfork/APKBUILD
index ead065051e..e638a7a123 100644
--- a/main/perl-test-sharedfork/APKBUILD
+++ b/main/perl-test-sharedfork/APKBUILD
@@ -1,13 +1,13 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-sharedfork
-pkgver=0.16
+pkgver=0.24
pkgrel=0
pkgdesc="Test::SharedFork perl module"
url="http://search.cpan.org/dist/Test-SharedFork/"
arch="noarch"
license="GPLv2 or Artistic"
-depends="perl"
+depends="perl perl-test-requires"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
@@ -26,14 +26,17 @@ prepare() {
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ perl Build.PL installdirs=vendor || return 1
+ ./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="ee0469b14d48bbd651f2ec5465f61a52 Test-SharedFork-0.16.tar.gz"
+md5sums="6cdefc061e885e7ce56ee0c3a1ede9a3 Test-SharedFork-0.24.tar.gz"
+sha256sums="5442a98245aaf46d947fb1ac99e8a22bc2a4eb66be72caa5cb428d2ce4a48384 Test-SharedFork-0.24.tar.gz"
+sha512sums="6c41d42f053222a13d5816a1f93c1488dbe78069d02e7a7daece6710e3391e2cd378cb6ddfa9e9549541a6feffab2da03561dbbaa17f7efecf3b8882d9f2bd1b Test-SharedFork-0.24.tar.gz"