summaryrefslogtreecommitdiff
path: root/p5-file-find-rule/Pkgfile
blob: 47517e102d8fddbc434bffafaba7f88b636f0a4b (plain)
    1 # Description: Alternative interface to File::Find
    2 # URL: https://search.mcpan.org/dist/File-Find-Rule
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: p5-number-compare p5-text-glob
    5 
    6 name=p5-file-find-rule
    7 version=0.34
    8 release=1
    9 source=(https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/File-Find-Rule-$version.tar.gz)
   10 
   11 build() {
   12   cd File-Find-Rule-$version
   13   unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
   14   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
   15   perl Makefile.PL
   16   make
   17   make install INSTALLDIRS=vendor DESTDIR=$PKG
   18   find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
   19 }

Generated by cgit