aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-pod/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-test-pod/APKBUILD')
-rw-r--r--main/perl-test-pod/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/perl-test-pod/APKBUILD b/main/perl-test-pod/APKBUILD
index 93f75b2390..a279ef156f 100644
--- a/main/perl-test-pod/APKBUILD
+++ b/main/perl-test-pod/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-test-pod
_realname=Test-Pod
pkgver=1.44
-pkgrel=0
+pkgrel=1
pkgdesc="Check for POD errors in files"
url="http://search.cpan.org/~petdance/Test-Pod-1.26/"
-arch="x86 x86_64"
+arch="noarch"
license="Unknown"
depends="perl"
makedepends="perl-dev"
@@ -16,9 +16,12 @@ source="http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/$_realname-$pkgver.
build() {
cd "$srcdir/$_realname-$pkgver"
-
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete