mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
912 B
Bash
31 lines
912 B
Bash
|
# $Id: PKGBUILD 50048 2009-08-18 20:08:47Z francois $
|
||
|
# Maintainer: eric <eric@archlinux.org>
|
||
|
# Contributor: Manolis Tzanidakis
|
||
|
# Contributor: Firmicus <francois.archlinux.org>
|
||
|
|
||
|
pkgname=perl-uri
|
||
|
_realname=URI
|
||
|
pkgver=1.40
|
||
|
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=('626cc85f1939a89981f82aae43497b53')
|
||
|
|
||
|
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
|