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

Evangelos Foutras foutrelis at nymeria.archlinux.org
Sun May 19 17:39:08 EDT 2013


    Date: Sunday, May 19, 2013 @ 23:39:08
  Author: foutrelis
Revision: 185941

upgpkg: perl-list-moreutils 0.33-4

Perl 5.18 rebuild.

Modified:
  perl-list-moreutils/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-19 21:36:11 UTC (rev 185940)
+++ PKGBUILD	2013-05-19 21:39:08 UTC (rev 185941)
@@ -4,17 +4,16 @@
 
 pkgname=perl-list-moreutils
 pkgver=0.33
-pkgrel=3
+pkgrel=4
 pkgdesc="Provide the stuff missing in List::Util"
 arch=(i686 x86_64)
 license=(PerlArtistic GPL)
 options=(!emptydirs)
-depends=('perl>=5.5.30')
+depends=('perl')
 url=http://search.cpan.org/dist/List-MoreUtils
 source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-${pkgver}.tar.gz")
 md5sums=(8a33c84028cc2ff3e92c92434b326c0f)
 sha512sums=(e758b995438c5c5322317aab3602e89b9f683c42d403a0ac97ccd8cc20d0db1a75caefc22f34ad088314867c0bdd9c2b8264e8f2f6a43eab1421aa8c482233b5)
-_distdir="${srcdir}/List-MoreUtils-${pkgver}"
 
 build() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
@@ -23,7 +22,7 @@
       PERL_MB_OPT="--installdirs vendor" \
       MODULEBUILDRC=/dev/null
 
-    cd "$_distdir"
+    cd "${srcdir}/List-MoreUtils-${pkgver}"
     /usr/bin/perl Makefile.PL
     make
   )
@@ -31,13 +30,13 @@
 
 check() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
+    cd "${srcdir}/List-MoreUtils-${pkgver}"
     make test
   )
 }
 
 package() {
-    cd "$_distdir"
+    cd "${srcdir}/List-MoreUtils-${pkgver}"
     make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list