aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-uri/APKBUILD
blob: b3fde8725842178bee54b111540ecab6130ff75a (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.68
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="4a954ab8d79f831616ca817ba4b26cb9  URI-1.68.tar.gz"
sha256sums="c840d30f7657bfd4b2acbb311bd764232911cd3dc97e92415fbd0a242185c358  URI-1.68.tar.gz"
sha512sums="1c17d293c633c909a468887b6aadf9f91a8c0477e5e6be7a97d6573ac58e5ad213c67f122a3d3a20238b7f094d69cef5cd4415caafe1844b18f7300942d5d233  URI-1.68.tar.gz"