summaryrefslogtreecommitdiff
path: root/p5-math-round/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2019-08-31 10:40:25 +0000
committerTim Biermann <tbier@posteo.de>2019-08-31 10:40:25 +0000
commit82a7fd0a2b358c445addee6361897f25a3023b74 (patch)
treef2f4df144b2b98433a8d052b9bc6145fcc3db117 /p5-math-round/Pkgfile
parent70e43717dad4ff5dd34744870ad8b16a8c11be08 (diff)
downloadcontrib-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/Pkgfile17
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
+}

Generated by cgit