From 5b39695836bc4b66f2508d0c493efa2c47ebdcba Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 14 May 2014 12:35:47 +0000
Subject: [PATCH] main/perl-test-sharedfork: upgrade to 0.24

---
 main/perl-test-sharedfork/APKBUILD | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/main/perl-test-sharedfork/APKBUILD b/main/perl-test-sharedfork/APKBUILD
index ead065051e98..e638a7a12326 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"
-- 
GitLab