[arch-commits] Commit in perl-data-random/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Jun 1 18:45:55 UTC 2017


    Date: Thursday, June 1, 2017 @ 18:45:54
  Author: felixonmars
Revision: 232549

archrelease: copy trunk to community-staging-any

Added:
  perl-data-random/repos/community-staging-any/
  perl-data-random/repos/community-staging-any/PKGBUILD
    (from rev 232548, perl-data-random/trunk/PKGBUILD)

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

Copied: perl-data-random/repos/community-staging-any/PKGBUILD (from rev 232548, perl-data-random/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 18:45:54 UTC (rev 232549)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Kogan <michael dot kogan at gmx dot net>
+
+pkgname=perl-data-random
+pkgver=0.12
+pkgrel=2
+pkgdesc="Data::Random - Perl module to generate random data"
+arch=('any')
+url="http://search.cpan.org/~barefoot/Data-Random/lib/Data/Random.pm"
+license=('GPL' 'PerlArtistic')
+depends=('perl-date-calc' 'perl-gd' 'perl-yaml-tiny')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/Data-Random-${pkgver}.tar.gz")
+md5sums=('7d9ff7be567d6c07fe916e2a279dea3e')
+
+build() {
+  cd "$srcdir/Data-Random-${pkgver}"
+  PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/Data-Random-${pkgver}"
+  make test
+}
+
+package() {
+  cd "$srcdir/Data-Random-${pkgver}"
+  make DESTDIR=$pkgdir install
+}



More information about the arch-commits mailing list