23 lines
631 B
Plaintext
23 lines
631 B
Plaintext
# Description: Generic archive extracting mechanism
|
|
# URL: https://metacpan.org/release/Archive-Extract
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
name=p5-archive-extract
|
|
_author=BINGOS
|
|
version=0.88
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/Archive-Extract-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Archive-Extract-$version
|
|
|
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
|
unset PERL5LIB PERL_MM_OPT
|
|
perl Makefile.PL
|
|
make
|
|
make install DESTDIR="$PKG" INSTALLDIRS=vendor
|
|
|
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
|
find $PKG -depth -empty -delete
|
|
}
|