[arch-commits] Commit in perl-term-readline-gnu/trunk (PKGBUILD)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Mon May 20 14:45:44 EDT 2013


    Date: Monday, May 20, 2013 @ 20:45:44
  Author: foutrelis
Revision: 91260

upgpkg: perl-term-readline-gnu 1.20-6

Perl 5.18 rebuild.

Modified:
  perl-term-readline-gnu/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-20 18:40:55 UTC (rev 91259)
+++ PKGBUILD	2013-05-20 18:45:44 UTC (rev 91260)
@@ -7,7 +7,7 @@
 
 pkgname=perl-term-readline-gnu
 pkgver=1.20
-pkgrel=5
+pkgrel=6
 pkgdesc="GNU Readline XS library wrapper"
 arch=('i686' 'x86_64')
 license=('PerlArtistic' 'GPL')
@@ -18,7 +18,6 @@
   'termcap-bad-ncurses-good.patch')
 md5sums=('fa33510193b89a2ada74fcef00816322'
   'a000706b89792f822b5ec20baa370910')
-_distdir="${srcdir}/Term-ReadLine-Gnu-1.20"
 
 build() {
    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
@@ -27,21 +26,20 @@
       PERL_MB_OPT="--installdirs vendor" \
       MODULEBUILDRC=/dev/null
 
-    cd "$_distdir"
+    cd "${srcdir}/Term-ReadLine-Gnu-1.20"
     patch --forward -p1 < "${srcdir}/termcap-bad-ncurses-good.patch"
     /usr/bin/perl Makefile.PL
     make
-  
 }
 
 check() {
-  cd "$_distdir"
+  cd "${srcdir}/Term-ReadLine-Gnu-1.20"
   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
     make test
 }
 
 package() {
-  cd "$_distdir"
+  cd "${srcdir}/Term-ReadLine-Gnu-1.20"
   make pure_install PERL_INSTALL_ROOT="$pkgdir"
   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
 }



More information about the arch-commits mailing list