diff options
author | Tim Biermann <tbier@posteo.de> | 2019-08-31 10:40:25 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2019-08-31 10:40:25 +0000 |
commit | 82a7fd0a2b358c445addee6361897f25a3023b74 (patch) | |
tree | f2f4df144b2b98433a8d052b9bc6145fcc3db117 /p5-math-round/Pkgfile | |
parent | 70e43717dad4ff5dd34744870ad8b16a8c11be08 (diff) | |
download | contrib-82a7fd0a2b358c445addee6361897f25a3023b74.tar.gz contrib-82a7fd0a2b358c445addee6361897f25a3023b74.tar.xz |
p5-math-round: initial commit, version 0.07
Diffstat (limited to 'p5-math-round/Pkgfile')
-rw-r--r-- | p5-math-round/Pkgfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/p5-math-round/Pkgfile b/p5-math-round/Pkgfile new file mode 100644 index 000000000..ffab87b19 --- /dev/null +++ b/p5-math-round/Pkgfile @@ -0,0 +1,17 @@ +# Description: Perl extension for rounding numbers +# URL: https://cpan.metacpan.org/dist/Math-Round +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: + +name=p5-math-round +version=0.07 +release=1 +source=(https://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Round-$version.tar.gz) + +build() { + cd Math-Round-$version + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make install DESTDIR=$PKG + find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete +} |