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

Felix Yan felixonmars at archlinux.org
Sat May 25 10:48:31 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:48:30
  Author: felixonmars
Revision: 354188

archrelease: copy trunk to staging-any

Added:
  perl-libwww/repos/staging-any/
  perl-libwww/repos/staging-any/PKGBUILD
    (from rev 354187, perl-libwww/trunk/PKGBUILD)

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

Copied: perl-libwww/repos/staging-any/PKGBUILD (from rev 354187, perl-libwww/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 10:48:30 UTC (rev 354188)
@@ -0,0 +1,34 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-libwww
+pkgver=6.39
+pkgrel=2
+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-try-tiny' 'perl-uri' 'perl-www-robotrules')
+optdepends=('perl-lwp-protocol-https: for https:// url schemes')
+checkdepends=('perl-test-fatal' 'perl-test-needs' 'perl-test-requiresinternet')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-$pkgver.tar.gz)
+sha512sums=('55360e971fada175cb37d8428ce7b0d6b4c3e3f1bf9129fbb15cdee1eea46d8ee4856b0c371849457625aeeb27b4eb751fb4d8510c28c968763aeda37fe1b7a6')
+
+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