1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: François Charette <firmicus ατ gmx δοτ net>
4 pkgname=perl-math-round
7 pkgdesc="Perl extension for rounding numbers"
9 url="https://search.cpan.org/dist/Math-Round"
10 license=('GPL' 'PerlArtistic')
12 options=('!emptydirs')
13 source=("https://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Round-$pkgver.tar.gz")
14 sha256sums=('73a7329a86e54a5c29a440382e5803095b58f33129e61a1df0093b4824de9327')
17 cd "${srcdir}/Math-Round-${pkgver}"
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23 cd "${srcdir}/Math-Round-${pkgver}"
28 cd "${srcdir}/Math-Round-${pkgver}"
29 make install DESTDIR="${pkgdir}"
31 find "${pkgdir}" -name '.packlist' -delete
32 find "${pkgdir}" -name '*.pod' -delete