[arch-commits] Commit in (4 files)
Justin Davis
juster at archlinux.org
Sun Aug 21 14:52:11 UTC 2011
Date: Sunday, August 21, 2011 @ 10:52:11
Author: juster
Revision: 136015
Adds perl-lwp-protocol-https package.
Added:
perl-lwp-protocol-https/
perl-lwp-protocol-https/repos/
perl-lwp-protocol-https/trunk/
perl-lwp-protocol-https/trunk/PKGBUILD
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Added: perl-lwp-protocol-https/trunk/PKGBUILD
===================================================================
--- perl-lwp-protocol-https/trunk/PKGBUILD (rev 0)
+++ perl-lwp-protocol-https/trunk/PKGBUILD 2011-08-21 14:52:11 UTC (rev 136015)
@@ -0,0 +1,47 @@
+# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
+# Generator : pbjam 0.01
+# $Id$
+
+pkgname=perl-lwp-protocol-https
+pkgver=6.02
+pkgrel=1
+pkgdesc="Provide https support for LWP::UserAgent"
+arch=(any)
+depends=('perl>=5.8.8' 'perl-io-socket-ssl>=1.38' 'perl-libwww'
+ 'perl-mozilla-ca>=20110101' 'perl-net-http')
+url=http://search.cpan.org/dist/LWP-Protocol-https
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/LWP-Protocol-https-6.02.tar.gz)
+md5sums=(a37185492b15ad5ac13da4aef48bd388)
+sha512sums=(cb65fa49c7a0882344ceefe4374cd50ce2c06fceffcaecc00f309342205a02e729613ed66a9ec5b9c6692f4edbbd04d522c72a2c80fb1718ecc3b8973cb5e10f)
+
+build() {
+ ( 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() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ cd "$_distdir"
+ make test
+ )
+}
+
+package() {
+ 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:
Property changes on: perl-lwp-protocol-https/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
More information about the arch-commits
mailing list