summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-28 01:21:15 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-28 01:29:00 +0100
commit1ea348d676c763732b9261368501afaca64eca0b (patch)
treed1df5e819bbe567810d832f5c64642308d3cb68c
parent9d0dff6ef0d9558896b5d3b35e0e88190a04b9eb (diff)
downloadaports-1ea348d676c763732b9261368501afaca64eca0b.zip
main/perl-ipc-system-simple: upgrade to 1.26
-rw-r--r--main/perl-ipc-system-simple/APKBUILD31
1 files 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 <kiyoshi.aman@gmail.com>
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"