blob: 8b95b40d3c68973b515f611aba0625a1716ce575 (
plain)
1 # Description: Faster and more correct implementation of the Package::Stash API
2 # URL: https://metacpan.org/pod/Package::Stash::XS
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=p5-package-stash-xs
7 version=0.30
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/E/ET/ETHER/Package-Stash-XS-$version.tar.gz)
10
11 build() {
12 cd Package-Stash-XS-$version
13 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
14 PERL_AUTOINSTALL=--skipdeps \
15 PERL_MM_OPT="INSTALLDIRS=vendor" \
16 PERL_MB_OPT="--installdirs vendor" \
17 MODULEBUILDRC=/dev/null
18 perl Makefile.PL
19 make
20 make DESTDIR=$PKG install
21 find $PKG -name .packlist -o \
22 -name perllocal.pod -o \
23 -name README -o \
24 -name '*.bs' | xargs rm
25 }
|