diff options
-rw-r--r-- | main/perl-test-sharedfork/APKBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/main/perl-test-sharedfork/APKBUILD b/main/perl-test-sharedfork/APKBUILD index e638a7a123..1a3a34a061 100644 --- a/main/perl-test-sharedfork/APKBUILD +++ b/main/perl-test-sharedfork/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-test-sharedfork -pkgver=0.24 +pkgver=0.34 pkgrel=0 pkgdesc="Test::SharedFork perl module" url="http://search.cpan.org/dist/Test-SharedFork/" @@ -11,7 +11,7 @@ depends="perl perl-test-requires" makedepends="perl-dev" install="" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-SharedFork-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-SharedFork-$pkgver.tar.gz" _builddir="$srcdir"/Test-SharedFork-$pkgver prepare() { @@ -26,17 +26,16 @@ prepare() { build() { cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 - ./Build && ./Build test - + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make || return 1 } package() { cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + make install DESTDIR=$pkgdir || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="6cdefc061e885e7ce56ee0c3a1ede9a3 Test-SharedFork-0.24.tar.gz" -sha256sums="5442a98245aaf46d947fb1ac99e8a22bc2a4eb66be72caa5cb428d2ce4a48384 Test-SharedFork-0.24.tar.gz" -sha512sums="6c41d42f053222a13d5816a1f93c1488dbe78069d02e7a7daece6710e3391e2cd378cb6ddfa9e9549541a6feffab2da03561dbbaa17f7efecf3b8882d9f2bd1b Test-SharedFork-0.24.tar.gz" +md5sums="40b7dd32228f7e6c2e31c41fb863df16 Test-SharedFork-0.34.tar.gz" +sha256sums="48933a21045c2e4a33ffdc70d4f0b8dcbf041fa763e07f006b980fefe2ef04fb Test-SharedFork-0.34.tar.gz" +sha512sums="b88b5e5129e74e20886707408ecf913a8871c30f132d1430a356f747cee8895fac3cdec708ef954326d3f5cde8742f652fd4cd3863cc074480dfc2c9488f4b0a Test-SharedFork-0.34.tar.gz" |