[arch-commits] Commit in perl-io-all/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue Oct 29 10:22:24 UTC 2013


    Date: Tuesday, October 29, 2013 @ 11:22:24
  Author: spupykin
Revision: 99489

upgpkg: perl-io-all 0.50-1

upd

Modified:
  perl-io-all/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++--------------------
 1 file changed, 17 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-29 10:22:20 UTC (rev 99488)
+++ PKGBUILD	2013-10-29 10:22:24 UTC (rev 99489)
@@ -2,7 +2,7 @@
 # $Id$
 
 pkgname=perl-io-all
-pkgver=0.46
+pkgver=0.50
 pkgrel=1
 pkgdesc="IO::All of it to Graham and Damian!"
 arch=(any)
@@ -11,32 +11,29 @@
 depends=('perl>=5.6.1' 'perl-io-string>=1.08')
 url="https://metacpan.org/release/IO-All"
 source=("http://search.cpan.org/CPAN/authors/id/I/IN/INGY/IO-All-${pkgver}.tar.gz")
-sha1sums=('1292fd897178f79f4a40555bffc89eb645d3f02a')
-_distdir="${srcdir}/IO-All-${pkgver}"
+sha1sums=('07cc71d462fba7469f3190df839e9a3c6dd427e3')
 
-build()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-      PERL_AUTOINSTALL=--skipdeps                            \
-      PERL_MM_OPT="INSTALLDIRS=vendor"     \
+build() {
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+      PERL_AUTOINSTALL=--skipdeps \
+      PERL_MM_OPT="INSTALLDIRS=vendor" \
       PERL_MB_OPT="--installdirs vendor" \
       MODULEBUILDRC=/dev/null
 
-    cd "$_distdir"
-    /usr/bin/perl Makefile.PL
-    make
-)
+  cd "${srcdir}/IO-All-${pkgver}"
+  perl Makefile.PL
+  make
+}
 
-check()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
-    make test
-)
+check() {
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+  cd "${srcdir}/IO-All-${pkgver}"
+  make test
+}
 
 package() {
-    cd "$_distdir"
-    make DESTDIR="$pkgdir" install
+  cd "${srcdir}/IO-All-${pkgver}"
+  make DESTDIR="$pkgdir" install
 }
 
 # Local Variables:




More information about the arch-commits mailing list