archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-uri / trunk / PKGBUILD
blob383265660f81945051dc37159965d75fcae5fd5c
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Manolis Tzanidakis
3 # Contributor: Firmicus <francois.archlinux.org> 
5 pkgname=perl-uri
6 pkgver=5.17
7 pkgrel=1
8 pkgdesc="Uniform Resource Identifiers (absolute and relative)"
9 arch=('any')
10 url="https://search.cpan.org/dist/URI/"
11 license=('PerlArtistic')
12 depends=('perl')
13 checkdepends=('perl-test-fatal' 'perl-test-needs' 'perl-test-warnings')
14 options=('!emptydirs')
15 source=("https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-$pkgver.tar.gz")
16 sha512sums=('52171e16137bfaa77ab31007245a561614c5c42336473022ebbe370b395d3052d3de80da0b42754ca2e0b09f47520ef96afdbdb72fe5c25cab87441eda03ec12')
18 build() {
19   cd URI-$pkgver
20   perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd URI-$pkgver
26   make test
29 package() {
30   cd URI-$pkgver
31   make install DESTDIR="$pkgdir"
33 # vim: ts=2 sw=2 et ft=sh