# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=perl-uri _pkgreal=URI _author=OALDERS _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=5.17 pkgrel=0 pkgdesc="Perl library for URI manipulation" url="https://metacpan.org/release/URI" arch="noarch" license="GPL-1.0+ OR Artistic-1.0-Perl" depends="perl" makedepends="" checkdepends="perl-test-fatal perl-test-needs perl-test-warnings" subpackages="$pkgname-doc" provides="perl-uri-escape=$pkgver-r$pkgrel" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="52171e16137bfaa77ab31007245a561614c5c42336473022ebbe370b395d3052d3de80da0b42754ca2e0b09f47520ef96afdbdb72fe5c25cab87441eda03ec12 URI-5.17.tar.gz"