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

Evangelos Foutras foutrelis at nymeria.archlinux.org
Sun May 19 21:52:31 UTC 2013


    Date: Sunday, May 19, 2013 @ 23:52:31
  Author: foutrelis
Revision: 91121

upgpkg: perl-lchown 1.01-2

Perl 5.18 rebuild.

Modified:
  perl-lchown/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-19 21:40:14 UTC (rev 91120)
+++ PKGBUILD	2013-05-19 21:52:31 UTC (rev 91121)
@@ -2,7 +2,7 @@
 
 pkgname=perl-lchown
 pkgver=1.01
-pkgrel=1
+pkgrel=2
 pkgdesc="use the lchown(2) system call from Perl"
 arch=(i686 x86_64)
 license=(PerlArtistic GPL)
@@ -12,7 +12,6 @@
 source=("http://search.cpan.org/CPAN/authors/id/N/NC/NCLEATON/Lchown-${pkgver}.tar.gz")
 md5sums=(e3db31be650437eb5d9bfc4da6252ee3)
 sha512sums=(f3b7bf7b3b71a7d92449d4ae8249d76b456869e48105db401a49f39f687ee5d97e079485fb2bbaae991a3a27d408959fc132b843c6f69487eeb2958c85f683a8)
-_distdir="${srcdir}/Lchown-${pkgver}"
 
 build()
 (
@@ -22,7 +21,7 @@
       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
       MODULEBUILDRC=/dev/null
 
-    cd "$_distdir"
+    cd "${srcdir}/Lchown-${pkgver}"
     /usr/bin/perl Build.PL
     ./Build
 )
@@ -30,12 +29,12 @@
 check()
 (
     export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
+    cd "${srcdir}/Lchown-${pkgver}"
     ./Build test
 )
 
 package() {
-    cd "$_distdir"
+    cd "${srcdir}/Lchown-${pkgver}"
     ./Build install
     find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
 }




More information about the arch-commits mailing list