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

Felix Yan felixonmars at archlinux.org
Mon May 24 10:33:20 UTC 2021


    Date: Monday, May 24, 2021 @ 10:33:19
  Author: felixonmars
Revision: 416150

archrelease: copy trunk to staging-any

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

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

Copied: perl-libwww/repos/staging-any/PKGBUILD (from rev 416149, perl-libwww/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 10:33:19 UTC (rev 416150)
@@ -0,0 +1,34 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-libwww
+pkgver=6.54
+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=('5a0538ed99df706373e9dc69db14efd9a033120a51dd656e0b15974c5da9d91eef55b7ccecd459b096d5e7f469d8e5ec328ebb3f8f14a211f43c40c70c2fd0fc')
+
+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