[arch-commits] Commit in perl-math-round/repos (staging-any staging-any/PKGBUILD)

Florian Pritz bluewind at archlinux.org
Thu Jun 1 09:20:57 UTC 2017


    Date: Thursday, June 1, 2017 @ 09:20:56
  Author: bluewind
Revision: 297165

archrelease: copy trunk to staging-any

Added:
  perl-math-round/repos/staging-any/
  perl-math-round/repos/staging-any/PKGBUILD
    (from rev 297164, perl-math-round/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: perl-math-round/repos/staging-any/PKGBUILD (from rev 297164, perl-math-round/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2017-06-01 09:20:56 UTC (rev 297165)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-math-round
+pkgver=0.07
+pkgrel=2
+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=('b74c5d2a3f891c19dafd7ce638732fd1')
+
+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
+}



More information about the arch-commits mailing list