[arch-commits] Commit in perl-data-random/repos (community-any community-any/PKGBUILD)

Felix Yan fyan at archlinux.org
Wed Jul 23 13:00:03 UTC 2014


    Date: Wednesday, July 23, 2014 @ 15:00:03
  Author: fyan
Revision: 116165

archrelease: copy trunk to community-any

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

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

Copied: perl-data-random/repos/community-any/PKGBUILD (from rev 116164, perl-data-random/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-07-23 13:00:03 UTC (rev 116165)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Michael Kogan <michael dot kogan at gmx dot net>
+
+pkgname=perl-data-random
+pkgver=0.11
+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=("http://ftp.gwdg.de/pub/languages/perl/CPAN/authors/id/B/BA/BAREFOOT/Data-Random-${pkgver}.tar.gz")
+md5sums=('9604ddc45eff8fc95803f34a7553c93b')
+
+build() {
+  cd "$srcdir/Data-Random-${pkgver}"
+  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