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

Evangelos Foutras foutrelis at nymeria.archlinux.org
Sun May 19 17:46:14 EDT 2013


    Date: Sunday, May 19, 2013 @ 23:46:14
  Author: foutrelis
Revision: 185945

upgpkg: perl-guard 1.022-3

Perl 5.18 rebuild.

Modified:
  perl-guard/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-19 21:41:08 UTC (rev 185944)
+++ PKGBUILD	2013-05-19 21:46:14 UTC (rev 185945)
@@ -3,17 +3,15 @@
 
 pkgname=perl-guard
 pkgver=1.022
-pkgrel=2
+pkgrel=3
 pkgdesc="safe cleanup blocks"
-arch=(i686 x86_64)
-license=(custom:unknown)
-options=(!emptydirs)
+arch=('i686' 'x86_64')
+url="https://metacpan.org/release/Guard"
+license=('GPL' 'PerlArtistic')
 depends=('perl')
-url=https://metacpan.org/release/Guard
+options=('!emptydirs')
 source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Guard-${pkgver}.tar.gz")
-md5sums=(8d1d8b942fd5d0240f47906a6d6fac8c)
-sha512sums=(9eb1c4fa29f6190115fe11215ff5d27bb3e7f5ab60c7f40c4142ad9ff8aad91b0b169204e4d0f1b1638381c0c99e6a0b5627b8b6d60fad62f1392a9d1e49751e)
-_distdir="${srcdir}/Guard-${pkgver}"
+md5sums=('8d1d8b942fd5d0240f47906a6d6fac8c')
 
 build() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
@@ -22,7 +20,7 @@
       PERL_MB_OPT="--installdirs vendor" \
       MODULEBUILDRC=/dev/null
 
-    cd "$_distdir"
+    cd "${srcdir}/Guard-${pkgver}"
     /usr/bin/perl Makefile.PL
     make
   )
@@ -30,13 +28,13 @@
 
 check() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
+    cd "${srcdir}/Guard-${pkgver}"
     make test
   )
 }
 
 package() {
-    cd "$_distdir"
+    cd "${srcdir}/Guard-${pkgver}"
     make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list