From 1ea348d676c763732b9261368501afaca64eca0b Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 28 Jan 2020 01:21:15 +0100 Subject: main/perl-ipc-system-simple: upgrade to 1.26 --- main/perl-ipc-system-simple/APKBUILD | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/main/perl-ipc-system-simple/APKBUILD b/main/perl-ipc-system-simple/APKBUILD index 2a7de634a84..7965e248f0a 100644 --- a/main/perl-ipc-system-simple/APKBUILD +++ b/main/perl-ipc-system-simple/APKBUILD @@ -3,37 +3,34 @@ # Maintainer: Kiyoshi Aman pkgname=perl-ipc-system-simple _pkgreal=IPC-System-Simple -pkgver=1.25 +pkgver=1.26 pkgrel=0 pkgdesc="Run commands simply, with detailed diagnostics" -url="http://search.cpan.org/dist/IPC-System-Simple/" +url="https://metacpan.org/release/IPC-System-Simple" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/IPC-System-Simple-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" - make && make test + make +} + +check() { + make test } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="fb49e674e1d52e8e5646d08507d7fda5 IPC-System-Simple-1.25.tar.gz" -sha256sums="f1b6aa1dfab886e8e4ea825f46a1cbb26038ef3e727fef5d84444aa8035a4d3b IPC-System-Simple-1.25.tar.gz" -sha512sums="fda275786605eb80acaa6062cc51c32aa0e84f150e7ca7afcfe874f088ce7b8f9a97669e91bec24fdb05426db8b0f05552aa8853e44b08996e625281d1892f72 IPC-System-Simple-1.25.tar.gz" +sha512sums="cf9a0ba99ecb080010f9da995d5985501dc61fb4254c4ba0c0033000e5f2678f728feb8cf3f96324439fcc77dbd76da6a509e0b75203ef37a8ca11bf1a2aa2bb IPC-System-Simple-1.26.tar.gz" -- cgit v1.2.3