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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 14:56:47 UTC 2020


    Date: Sunday, June 21, 2020 @ 14:56:47
  Author: felixonmars
Revision: 389820

archrelease: copy trunk to staging-any

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

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

Copied: perl-libwww/repos/staging-any/PKGBUILD (from rev 389819, perl-libwww/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-06-21 14:56:47 UTC (rev 389820)
@@ -0,0 +1,34 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-libwww
+pkgver=6.45
+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=('3c3b2319039dd2ea5c1cdffc7ca7535bd26569e68a8340eefcc80f5b4fb20ac1a4c479d8abc7d4ea4a470689bf510fdd0bd30a5e3fc6d0b103e3f7bedfceaf87')
+
+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