# Description: Perl extension for rounding numbers
# URL: https://metacpan.org/pod/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
}
