summaryrefslogtreecommitdiff
path: root/p5-exporter-tiny/Pkgfile
blob: 7efdfe9617539ccbbb0672a173e1ab9e8f01cfc8 (plain)
    1 # Description: an exporter with the features of Sub::Exporter but only core dependencies
    2 # URL: https://metacpan.org/pod/Exporter::Tiny
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on:
    5 
    6 name=p5-exporter-tiny
    7 version=1.004003
    8 release=1
    9 source=(https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Exporter-Tiny-$version.tar.gz)
   10 
   11 build() {
   12   cd Exporter-Tiny-$version
   13   export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
   14       PERL_AUTOINSTALL=--skipdeps \
   15       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$PKG'" \
   16       PERL_MB_OPT="--installdirs vendor --destdir '$PKG'" \
   17       MODULEBUILDRC=/dev/null
   18   /usr/bin/perl Makefile.PL
   19   make install
   20   find $PKG -name .packlist -o \
   21     -name perllocal.pod -o \
   22     -name README -o \
   23     -name '*.bs' | xargs rm
   24 }

Generated by cgit