diff options
-rw-r--r-- | main/perl-uri/APKBUILD | 13 |
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" |