# $Id: PKGBUILD 74492 2010-03-31 09:22:30Z francois $ # Maintainer: eric # Contributor: Manolis Tzanidakis # Contributor: Firmicus pkgname=perl-uri _realname=URI pkgver=1.54 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=('dabc621fd116064395483d80c329095b') 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