blob: c6048665727a0a0ecf9480507ff4da33e186087c (
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.64
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="975b2282bc8f0fd72a6dae5cefc33824 URI-1.64.tar.gz"
sha256sums="ab7f5fbc80da4ed9c46d63ed956c68a09e83dae30f20c2778c3e056d41883f9d URI-1.64.tar.gz"
sha512sums="10e520bd360c30b3499bd9f557a16523839168ff4161b26db7c2c2c053c660ecf74c1cd3719209b1a0762d31df668896192a770e8af2a3effa083ce28e2eeab4 URI-1.64.tar.gz"
|