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

Justin Davis juster at archlinux.org
Tue Aug 30 17:50:00 UTC 2011


    Date: Tuesday, August 30, 2011 @ 13:49:59
  Author: juster
Revision: 136593

upgpkg: perl-libwww 6.02-1
Add !emptydirs option, use $pkgver in paths.

Modified:
  perl-libwww/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-30 17:46:11 UTC (rev 136592)
+++ PKGBUILD	2011-08-30 17:49:59 UTC (rev 136593)
@@ -4,10 +4,11 @@
 
 pkgname=perl-libwww
 pkgver=6.02
-pkgrel=2
+pkgrel=1
 pkgdesc="The World-Wide Web library for Perl"
 arch=(any)
 license=(PerlArtistic GPL)
+options=(!emptydirs)
 depends=('perl>=5.8.8' 'perl-encode-locale' 'perl-file-listing>=6'
          'perl-html-parser' 'perl-http-cookies>=6' 'perl-http-daemon>=6'
          'perl-http-date>=6' 'perl-http-message' 'perl-http-negotiate>=6'
@@ -15,10 +16,10 @@
          'perl-www-robotrules>=6')
 optdepends=('perl-lwp-protocol-https: for https:// url schemes')
 url=http://search.cpan.org/dist/libwww-perl
-source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-6.02.tar.gz)
+source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${pkgver}.tar.gz")
 md5sums=(4617dbc79a78992a8c8db263c170d8ec)
 sha512sums=(a5b081f5dcb63010eff583c77b4e57f417ee842ad6e1327cd2df22443238eef795348a4298b3fbc7676240d46ff9a70d68ab2465469579c6a7bef08556aab70c)
-_distdir="$srcdir/libwww-perl-6.02"
+_distdir="${srcdir}/libwww-perl-${pkgver}"
 
 build() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \




More information about the arch-commits mailing list