blob: 8f13de9f2d3304202e96213c61b07ecd41fb4075 (
plain)
1 # Description: Perl Uniform Resource Identifiers Library.
2 # URL: https://metacpan.org/release/URI
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=p5-uri
6 version=5.17
7 release=1
8 source=(https://www.cpan.org/modules/by-module/URI/URI-$version.tar.gz)
9
10 build() {
11 cd URI-$version
12
13 perl Makefile.PL INSTALLDIRS=vendor
14 make
15 make install DESTDIR=$PKG
16
17 find $PKG -type f \( \
18 -name '.packlist' -or \
19 -name '*.bs' -or \
20 -name 'autosplit.ix' -or \
21 -name 'perllocal.pod' \) -delete
22
23 # Remove empty directories
24 find $PKG -depth -empty -exec rm -rf {} \;
25 }
|