aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-uri/APKBUILD
blob: 7f14e89e593ee24f70785e762b4ca4a4716f1d83 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-uri
pkgver=1.54
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"
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="dabc621fd116064395483d80c329095b  URI-1.54.tar.gz"