blob: 3d4699d813667ce0babf5b718a5383d8c771598c (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-uri
pkgver=1.67
pkgrel=0
pkgdesc="Perl Module: form Resource Identifiers (absolute and relative)"
url="http://search.cpan.org/dist/URI/"
arch="noarch"
license="PerlArtistic"
subpackages="$pkgname-doc"
depends="perl"
makedepends="perl-dev"
replaces="perl-uri-escape"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/URI-$pkgver.tar.gz"
build() {
cd "$srcdir"/URI-$pkgver
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$srcdir"/URI-$pkgver
make install DESTDIR="$pkgdir" || return 1
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}
md5sums="d0ef53b6c63bcc02ba55f405c30741e3 URI-1.67.tar.gz"
sha256sums="7088d43d5f4902becfa5e0627751f5e6d0e0bdd1637b2d39e70ce807068a274e URI-1.67.tar.gz"
sha512sums="4e7c6c55a4444b419e3e75ad09f42e2ae0c1ef812f0f894ce3231742a1c6e484115518ff665b1f759d1bd331394f1feaf0a652781114a8cd41419fa1a899018e URI-1.67.tar.gz"
|