# $Id: PKGBUILD 62292 2010-01-07 10:11:55Z francois $ # Maintainer: eric # Contributor: Manolis Tzanidakis # Contributor: Firmicus pkgname=perl-uri _realname=URI pkgver=1.52 pkgrel=1 pkgdesc="Uniform Resource Identifiers (absolute and relative)" arch=(any) license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/${_realname}-$pkgver.tar.gz) md5sums=('d6ba96cc3e650af6537675e016e83d3e') build() { cd ${srcdir}/${_realname}-$pkgver # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${pkgdir} || return 1 # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } # vim: ts=2 sw=2 et ft=sh