blob: c6b5531511d12a4af006401f4ced363e4e637db3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Manolis Tzanidakis
# Contributor: Firmicus <francois.archlinux.org>
pkgname=perl-uri
_realname=URI
pkgver=1.74
pkgrel=1
pkgdesc="Uniform Resource Identifiers (absolute and relative)"
arch=('any')
url="http://search.cpan.org/dist/${_realname}/"
license=('PerlArtistic')
depends=('perl')
checkdepends=('perl-test-needs')
provides=('perl-uri-escape=3.30')
options=('!emptydirs')
source=("http://cpan.metacpan.org/authors/id/E/ET/ETHER/${_realname}-${pkgver}.tar.gz")
sha512sums=('b537bd09c355989a2bb1919e2c228cf189e57f993add4246fa482d8ee5ec814266c6fb3229befce2f294456ee784a819d9a54013c43a2ad41b5d8914fabf046b')
build() {
cd "${srcdir}/${_realname}-$pkgver"
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/${_realname}-${pkgver}"
make test
}
package() {
cd "${srcdir}/${_realname}-$pkgver"
make install DESTDIR="${pkgdir}"
}
# vim: ts=2 sw=2 et ft=sh
|