aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-21 16:47:25 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-21 16:47:47 -0300
commitc0dcadb1db1df7b1028dac6175b0ce7fe6d33c22 (patch)
tree8d10333cc296cb789d43b6554bc973040bf756d3
parentf016970c2f59680c80ebe8e662de17b2eef16ece (diff)
downloadaports-c0dcadb1db1df7b1028dac6175b0ce7fe6d33c22.tar.gz
aports-c0dcadb1db1df7b1028dac6175b0ce7fe6d33c22.tar.bz2
aports-c0dcadb1db1df7b1028dac6175b0ce7fe6d33c22.tar.xz
main/perl-pod-coverage: add missing dependency on perl-pod-parser and modernize
-rw-r--r--main/perl-pod-coverage/APKBUILD23
1 files changed, 7 insertions, 16 deletions
diff --git a/main/perl-pod-coverage/APKBUILD b/main/perl-pod-coverage/APKBUILD
index 68b4d47d2d..62e542b8d0 100644
--- a/main/perl-pod-coverage/APKBUILD
+++ b/main/perl-pod-coverage/APKBUILD
@@ -5,30 +5,21 @@ _realname=Pod-Coverage
pkgver=0.23
pkgrel=2
pkgdesc="Perl - Checks if the documentation of a module is comprehensive"
-url="http://search.cpan.org/~rclamp/$_realname-$pkgver/"
+url="http://search.cpan.org/~rclamp/$_realname-$pkgver"
arch="noarch"
-license="Artistic GPL"
-depends="perl perl-devel-symdump perl-test-pod"
+license="Artistic-1.0-Perl or GPL-1.0-or-later"
+depends="perl perl-devel-symdump perl-test-pod perl-pod-parser"
makedepends="perl-dev"
-install=
-#subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/$_realname-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_realname-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
+builddir="$srcdir/$_realname-$pkgver"
build() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make test || return 1
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make test
}
package() {
- cd "$_builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete