extra/perl-uri: new aport

Perl Module: form Resource Identifiers (absolute and relative)
http://search.cpan.org/dist/URI/
This commit is contained in:
Natanael Copa 2009-05-21 20:11:12 +00:00
parent 2b140f85d8
commit 6c27512e86

22
extra/perl-uri/APKBUILD Normal file
View File

@ -0,0 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-uri
pkgver=1.37
pkgrel=0
pkgdesc="Perl Module: form Resource Identifiers (absolute and relative)"
url="http://search.cpan.org/dist/URI/"
license="PerlArtistic"
subpackages="$pkgname-doc"
depends="perl"
makedepends=""
source="http://www.cpan.org/authors/id/G/GA/GAAS/URI-$pkgver.tar.gz"
build ()
{
cd "$srcdir"/URI-$pkgver
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR="$pkgdir" || return 1
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}
md5sums="b81b3610b78654e11c099f74a5247860 URI-1.37.tar.gz"