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 md5sums=('b74c5d2a3f891c19dafd7ce638732fd1')
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