aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-uri
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-10 18:45:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-10 18:45:10 +0000
commit75285026a5b3c1f095df9a699b82fc6030518c5e (patch)
tree7325ade07beeb55dbc567728a30e46ac65fe2a6e /main/perl-uri
parent99445d72e2dad154e98be81e9ba8533054b4a35b (diff)
downloadaports-75285026a5b3c1f095df9a699b82fc6030518c5e.tar.bz2
aports-75285026a5b3c1f095df9a699b82fc6030518c5e.tar.xz
main/perl-uri: upgrade to 1.54
Diffstat (limited to 'main/perl-uri')
-rw-r--r--main/perl-uri/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/perl-uri/APKBUILD b/main/perl-uri/APKBUILD
index 2540747909..7f14e89e59 100644
--- a/main/perl-uri/APKBUILD
+++ b/main/perl-uri/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-uri
-pkgver=1.40
-pkgrel=1
+pkgver=1.54
+pkgrel=0
pkgdesc="Perl Module: form Resource Identifiers (absolute and relative)"
url="http://search.cpan.org/dist/URI/"
arch="noarch"
@@ -11,13 +11,16 @@ depends="perl"
makedepends="perl-dev"
source="http://www.cpan.org/authors/id/G/GA/GAAS/URI-$pkgver.tar.gz"
-build ()
-{
+build() {
cd "$srcdir"/URI-$pkgver
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/URI-$pkgver
make install DESTDIR="$pkgdir" || return 1
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}
-md5sums="626cc85f1939a89981f82aae43497b53 URI-1.40.tar.gz"
+md5sums="dabc621fd116064395483d80c329095b URI-1.54.tar.gz"