blob: 8aea28f87aaac08346cf262aa4f6686cafdc9bbb (
plain)
1 # Description: Generic archive extracting mechanism
2 # URL: https://metacpan.org/release/Archive-Extract
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=p5-archive-extract
6 _realname=Archive-Extract
7 _author=BINGOS
8 version=0.88
9 release=1
10 source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
11
12 build() {
13 cd $_realname-$version
14
15 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
16 unset PERL5LIB PERL_MM_OPT
17 perl Makefile.PL
18 make
19 make install DESTDIR="$PKG" INSTALLDIRS=vendor
20
21 find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
22 find $PKG -depth -empty -delete
23 }
|