blob: 5dc2c735ad99d1c8a7b70a41b341c912e1b6b3c3 (
plain)
1 # Description: numeric comparisons for human file sizes
2 # URL: https://metacpan.org/dist/Number-Compare
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=p5-number-compare
7 version=0.03
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Number-Compare-$version.tar.gz)
10
11 build() {
12 cd Number-Compare-$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 }
|