[arch-commits] Commit in perl-libwww/trunk (PKGBUILD)
Justin Davis
juster at archlinux.org
Thu Aug 18 13:08:27 UTC 2011
Date: Thursday, August 18, 2011 @ 09:08:27
Author: juster
Revision: 135754
Upgrades the perl-libwww package to 6.02.
Modified:
perl-libwww/trunk/PKGBUILD
----------+
PKGBUILD | 118 +++++++++++++++++++++----------------------------------------
1 file changed, 42 insertions(+), 76 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-08-18 13:05:59 UTC (rev 135753)
+++ PKGBUILD 2011-08-18 13:08:27 UTC (rev 135754)
@@ -1,90 +1,56 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator : pbjam 0.01
# $Id$
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: Manolis Tzanidakis
pkgname=perl-libwww
-_realname=libwww-perl
-pkgver=5.837
+pkgver=6.02
pkgrel=1
-pkgdesc="A set of Perl modules which provides a simple and consistent API to the WWW"
-arch=('any')
-license=('PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl-uri' 'perl-html-parser')
-optdepends=('perl-crypt-ssleay: for SSL/TLS support')
+pkgdesc="The World-Wide Web library for Perl"
+arch=(any)
+license=(PerlArtistic GPL)
options=('!emptydirs')
-replaces=('libwww-perl')
-provides=(
-'perl-bundle-lwp'
-'perl-file-listing=5.814'
-'perl-html-form=5.829'
-'perl-http-config=5.835'
-'perl-http-cookies=5.833'
-'perl-http-cookies-microsoft'
-'perl-http-cookies-netscape=5.832'
-'perl-http-daemon=5.827'
-'perl-http-date=5.831'
-'perl-http-headers=5.835'
-'perl-http-headers-auth=5.817'
-'perl-http-headers-etag=5.810'
-'perl-http-headers-util=5.817'
-'perl-http-message=5.835'
-'perl-http-negotiate=5.835'
-'perl-http-request=5.827'
-'perl-http-request-common=5.824'
-'perl-http-response=5.836'
-'perl-http-status=5.817'
-'perl-lwp=5.836'
-'perl-lwp-authen-basic'
-'perl-lwp-authen-digest'
-'perl-lwp-authen-ntlm'
-'perl-lwp-conncache=5.810'
-'perl-lwp-debug'
-'perl-lwp-debugfile'
-'perl-lwp-mediatypes=5.835'
-'perl-lwp-membermixin'
-'perl-lwp-protocol=5.829'
-'perl-lwp-protocol-cpan'
-'perl-lwp-protocol-data'
-'perl-lwp-protocol-file'
-'perl-lwp-protocol-ftp'
-'perl-lwp-protocol-ghttp'
-'perl-lwp-protocol-gopher'
-'perl-lwp-protocol-http'
-'perl-lwp-protocol-http10'
-'perl-lwp-protocol-https'
-'perl-lwp-protocol-https10'
-'perl-lwp-protocol-loopback'
-'perl-lwp-protocol-mailto'
-'perl-lwp-protocol-nntp'
-'perl-lwp-protocol-nogo'
-'perl-lwp-robotua=5.835'
-'perl-lwp-simple=5.835'
-'perl-lwp-useragent=5.835'
-'perl-net-http=5.834'
-'perl-net-http-methods=5.834'
-'perl-net-http-nb=5.810'
-'perl-net-https=5.819'
-'perl-www-robotrules=5.832'
-'perl-www-robotrules-anydbm_file=5.835'
-)
-source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
-md5sums=('9bbf1bce482b0bac98bb4f04253c03d0')
+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'
+ 'perl-lwp-mediatypes>=6' 'perl-net-http>=6' 'perl-uri>=1.10'
+ 'perl-www-robotrules>=6')
+makedepends=()
+checkdepends=()
+conflicts=()
+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)
+md5sums=(4617dbc79a78992a8c8db263c170d8ec)
+sha512sums=(a5b081f5dcb63010eff583c77b4e57f417ee842ad6e1327cd2df22443238eef795348a4298b3fbc7676240d46ff9a70d68ab2465469579c6a7bef08556aab70c)
+_distdir="${srcdir}/libwww-perl-6.02"
build() {
- cd ${srcdir}/${_realname}-${pkgver}
- # install module in vendor directories.
- perl Makefile.PL --aliases INSTALLDIRS=vendor
- make
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
}
check() {
- cd ${srcdir}/${_realname}-${pkgver}
- make test
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ cd "$_distdir"
+ make test
+ )
}
package() {
- cd ${srcdir}/${_realname}-${pkgver}
- make install DESTDIR=${pkgdir}
+ cd "$_distdir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list