summaryrefslogtreecommitdiffstats
path: root/main/perl-uri-escape/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-uri-escape/APKBUILD')
-rw-r--r--main/perl-uri-escape/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-uri-escape/APKBUILD b/main/perl-uri-escape/APKBUILD
index 647e92e2a..060488396 100644
--- a/main/perl-uri-escape/APKBUILD
+++ b/main/perl-uri-escape/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-uri-escape
_realname=URI
pkgver=1.56
-pkgrel=1
+pkgrel=2
pkgdesc="Uniform Resource Identifiers (absolute and relative)"
url="http://search.cpan.org/~gaas/URI-$pkgver"
-arch="x86 x86_64"
+arch="noarch"
license="GPL PerlArtistic"
depends="perl"
makedepends="perl-dev"
@@ -19,6 +19,10 @@ build() {
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