aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-uri/APKBUILD
blob: 5c92a1b182f61742544d9da92b4b6d59872e558b (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.69
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="3c56aee0300bce5a440ccbd558277ea0  URI-1.69.tar.gz"
sha256sums="b74b16ea626b6f8061821bb350674c638a98be1fc766eadb24fec6635998b42d  URI-1.69.tar.gz"
sha512sums="4e58cd450c58be4c3e0254c8e53bd0b4d3516468efb466c933343efc12191856bfc6c0d5c3de3b523e66d4930c2426f0089d5cd9ece7b4a5b8aff0a9596064cc  URI-1.69.tar.gz"