core/perl-uri/PKGBUILD
Jan Mette 93d9bd24fe
2010-03-14 15:48:48 +00:00

31 lines
912 B
Bash

# $Id: PKGBUILD 62292 2010-01-07 10:11:55Z francois $
# Maintainer: eric <eric@archlinux.org>
# Contributor: Manolis Tzanidakis
# Contributor: Firmicus <francois.archlinux.org>
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