Date: Wednesday, November 30, 2011 @ 16:38:22 Author: giovanni Revision: 143938
archrelease: copy trunk to extra-any Added: perl-math-round/repos/extra-any/PKGBUILD (from rev 143937, perl-math-round/trunk/PKGBUILD) Deleted: perl-math-round/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2011-11-30 21:38:06 UTC (rev 143937) +++ PKGBUILD 2011-11-30 21:38:22 UTC (rev 143938) @@ -1,30 +0,0 @@ -# $Id$ -# Maintainer: Giovanni Scafora <giova...@archlinux.org> -# Contributor: François Charette <firmicus ατ gmx δοτ net> - -pkgname=perl-math-round -pkgver=0.06 -pkgrel=4 -pkgdesc="Perl extension for rounding numbers" -arch=('any') -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 "${srcdir}/Math-Round-${pkgver}" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor - make - make test -} - -package() { - cd "${srcdir}/Math-Round-${pkgver}" - make install DESTDIR=${pkgdir} - - find ${pkgdir} -name '.packlist' -delete - find ${pkgdir} -name '*.pod' -delete -} Copied: perl-math-round/repos/extra-any/PKGBUILD (from rev 143937, perl-math-round/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2011-11-30 21:38:22 UTC (rev 143938) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-math-round +pkgver=0.06 +pkgrel=5 +pkgdesc="Perl extension for rounding numbers" +arch=('any') +url="http://search.cpan.org/dist/Math-Round" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Round-$pkgver.tar.gz") +md5sums=('552cef2753b246f97a6e20d8dee66e7c') + +build() { + cd "${srcdir}/Math-Round-${pkgver}" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/Math-Round-${pkgver}" + make test +} + +package() { + cd "${srcdir}/Math-Round-${pkgver}" + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +}