[arch-commits] Commit in perl-libwww/repos (testing-any testing-any/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Mar 16 09:06:19 UTC 2018


    Date: Friday, March 16, 2018 @ 09:06:18
  Author: arojas
Revision: 319388

archrelease: copy trunk to testing-any

Added:
  perl-libwww/repos/testing-any/
  perl-libwww/repos/testing-any/PKGBUILD
    (from rev 319387, perl-libwww/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: perl-libwww/repos/testing-any/PKGBUILD (from rev 319387, perl-libwww/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2018-03-16 09:06:18 UTC (rev 319388)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-libwww
+pkgver=6.33
+pkgrel=1
+pkgdesc="The World-Wide Web library for Perl"
+arch=('any')
+url="https://metacpan.org/release/libwww-perl"
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-encode-locale' 'perl-file-listing'
+         'perl-html-parser' 'perl-http-cookies' 'perl-http-daemon'
+         'perl-http-date' 'perl-http-negotiate' 'perl-lwp-mediatypes'
+         'perl-net-http' 'perl-uri' 'perl-www-robotrules'
+         'perl-http-message' 'perl-try-tiny')
+optdepends=('perl-lwp-protocol-https: for https:// url schemes')
+checkdepends=('perl-test-fatal' 'perl-test-requiresinternet')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-${pkgver}.tar.gz)
+sha1sums=('915f4afeb91269aea3476e408a3af7904c5361e4')
+
+build() {
+  cd libwww-perl-${pkgver}
+  perl Makefile.PL --aliases INSTALLDIRS=vendor
+  make
+}
+
+check()  {
+  cd libwww-perl-${pkgver}
+  make test
+}
+
+package() {
+  cd libwww-perl-${pkgver}
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list