[arch-commits] Commit in perl-data-dump/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Sat May 11 00:32:02 EDT 2013


    Date: Saturday, May 11, 2013 @ 06:32:01
  Author: eric
Revision: 90295

upgpkg: perl-data-dump 1.22-1

Upstream update, Clean up PKGBUILD

Modified:
  perl-data-dump/trunk/PKGBUILD

----------+
 PKGBUILD |   49 ++++++++++++++++---------------------------------
 1 file changed, 16 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-11 04:23:19 UTC (rev 90294)
+++ PKGBUILD	2013-05-11 04:32:01 UTC (rev 90295)
@@ -1,47 +1,30 @@
-# Packager: Justin Davis <jrcd83 at gmail.com>
 # $Id$
+# Maintainer:
 
 pkgname=perl-data-dump
-pkgver=1.21
+pkgver=1.22
 pkgrel=1
 pkgdesc="Pretty printing of data structures"
 arch=(any)
+url="https://metacpan.org/release/Data-Dump"
 license=(PerlArtistic GPL)
+depends=('perl')
 options=(!emptydirs)
-depends=('perl>=5.006')
-url=https://metacpan.org/release/Data-Dump
 source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Data-Dump-${pkgver}.tar.gz")
-md5sums=(5de5616e29fd0626a8a5966a2be85628)
-sha512sums=(25a11d3f7b0d075a4bea58848b7b3f4dfde19c8c294632714d674426ea7bb0cdea33ac09ec03d4ba0135ce5ba68bb7072ace93cbd4cb04c17f76f424919fe20b)
-_distdir="${srcdir}/Data-Dump-${pkgver}"
+sha1sums=('7da875cde34b6fe32b680eaa0c70121e4b69f09b')
 
-build()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-      PERL_AUTOINSTALL=--skipdeps                            \
-      PERL_MM_OPT="INSTALLDIRS=vendor"     \
-      PERL_MB_OPT="--installdirs vendor" \
-      MODULEBUILDRC=/dev/null
+build() {
+  cd Data-Dump-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
 
-    cd "$_distdir"
-    /usr/bin/perl Makefile.PL
-    make
-)
+check() {
+  cd Data-Dump-${pkgver}
+  make test
+}
 
-check()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
-    make test
-)
-
 package() {
-    cd "$_distdir"
-    make DESTDIR="$pkgdir" install
+  cd Data-Dump-${pkgver}
+  make DESTDIR="$pkgdir" install
 }
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list