Date: Friday, April 20, 2018 @ 07:13:30 Author: felixonmars Revision: 317116
archrelease: copy trunk to community-any Added: perl-data-random/repos/community-any/PKGBUILD (from rev 317115, perl-data-random/trunk/PKGBUILD) Deleted: perl-data-random/repos/community-any/PKGBUILD ----------+ PKGBUILD | 65 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-20 07:13:00 UTC (rev 317115) +++ PKGBUILD 2018-04-20 07:13:30 UTC (rev 317116) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Michael Kogan <michael dot kogan at gmx dot net> - -pkgname=perl-data-random -pkgver=0.12 -pkgrel=3 -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 -} Copied: perl-data-random/repos/community-any/PKGBUILD (from rev 317115, perl-data-random/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-20 07:13:30 UTC (rev 317116) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Michael Kogan <michael dot kogan at gmx dot net> + +pkgname=perl-data-random +pkgver=0.13 +pkgrel=1 +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-gd' 'perl-yaml-tiny') +makedepends=('perl-file-sharedir-install' 'perl-test-mocktime') +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") +sha512sums=('7cf3811ee26a3b93a8170cc9c863ad2cf03f5997cabe66cd78646a4d93a6568ef247f636782b8c707c3064120b30609f3562d8654b31e5e31890aa302b03cdb5') + +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 +}