aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-ipc-run3/APKBUILD33
1 files changed, 10 insertions, 23 deletions
diff --git a/main/perl-ipc-run3/APKBUILD b/main/perl-ipc-run3/APKBUILD
index a433a651c8..bcdafe4be8 100644
--- a/main/perl-ipc-run3/APKBUILD
+++ b/main/perl-ipc-run3/APKBUILD
@@ -2,40 +2,27 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-ipc-run3
pkgver=0.048
-pkgrel=0
+pkgrel=1
pkgdesc="IPC::Run3 perl module"
-url="http://search.cpan.org/dist/IPC-Run3/"
+url="https://metacpan.org/pod/IPC::Run3"
arch="noarch"
-license="GPL-2.0 or Artistic"
+license="GPL-2.0 or Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
-install=""
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-$pkgver.tar.gz"
-
-_builddir="$srcdir"/IPC-Run3-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/IPC-Run3-$pkgver.tar.gz"
+builddir="$srcdir"/IPC-Run3-$pkgver
build() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make && make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="5a8cec571c51a118b265cf6e24e55761 IPC-Run3-0.048.tar.gz"
-sha256sums="3d81c3cc1b5cff69cca9361e2c6e38df0352251ae7b41e2ff3febc850e463565 IPC-Run3-0.048.tar.gz"
sha512sums="50432850d8dccd2e59aa6684d34f3e3242fd7df3eb4d9a5eb02dae389aa46b5fd68cc54114a157c3fe99956e68e74d575ab3db5009b7bf7d5c325f1f109b1262 IPC-Run3-0.048.tar.gz"