summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-math-round/PKGBUILD
blob: 6501887d143edcf8251db7a2fbf31da9769d3720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman

pkgname=perl-math-round
pkgver=0.06
pkgrel=2
pkgdesc="Perl extension for rounding numbers"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Math-Round"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Round-$pkgver.tar.gz) 
md5sums=('552cef2753b246f97a6e20d8dee66e7c')

build() {
  cd  $startdir/src/Math-Round-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}