blob: 873533d891c8d8ff64d54b36f2b576f35e5495b7 (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-uri
pkgver=1.74
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="$depends"
checkdepends="perl-test-needs"
subpackages="$pkgname-doc"
provides="perl-uri-escape=$pkgver-r$pkgrel"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/URI-$pkgver.tar.gz"
builddir="$srcdir/URI-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="b537bd09c355989a2bb1919e2c228cf189e57f993add4246fa482d8ee5ec814266c6fb3229befce2f294456ee784a819d9a54013c43a2ad41b5d8914fabf046b URI-1.74.tar.gz"
|