summaryrefslogtreecommitdiffstats
path: root/main/perl-uri/APKBUILD
blob: 79945fbf945932e7adeec0e3f4a93a8c497b5c8a (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-uri
pkgver=1.58
pkgrel=2
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://www.cpan.org/authors/id/G/GA/GAAS/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="540575aee18616ad9a21e0af7a1e7b18  URI-1.58.tar.gz"