diff options
author | Nathan Harris <nharris@eoimaging.com> | 2010-01-07 15:39:14 (GMT) |
---|---|---|
committer | Nathan Harris <nharris@eoimaging.com> | 2010-01-07 15:39:14 (GMT) |
commit | 4f202712a8c42ea6b34b1018e12848db90ef86b9 (patch) | |
tree | c19526b70a870586f6dde68e06443d388bc59c00 /abs/core-testing/perl_modules | |
parent | 20e0d48161bd3e42322442a7ca35d472b950b3ea (diff) | |
download | linhes_pkgbuild-4f202712a8c42ea6b34b1018e12848db90ef86b9.zip linhes_pkgbuild-4f202712a8c42ea6b34b1018e12848db90ef86b9.tar.gz linhes_pkgbuild-4f202712a8c42ea6b34b1018e12848db90ef86b9.tar.bz2 |
perl-math-round: moved into perl_modules
Diffstat (limited to 'abs/core-testing/perl_modules')
-rw-r--r-- | abs/core-testing/perl_modules/perl-math-round/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-math-round/PKGBUILD b/abs/core-testing/perl_modules/perl-math-round/PKGBUILD new file mode 100644 index 0000000..6501887 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-math-round/PKGBUILD @@ -0,0 +1,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 +} |