[arch-commits] Commit in perl-libwww/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 11:11:00 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:11:00
Author: foutrelis
Revision: 330157
archrelease: copy trunk to staging-any
Added:
perl-libwww/repos/staging-any/
perl-libwww/repos/staging-any/PKGBUILD
(from rev 330156, perl-libwww/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: perl-libwww/repos/staging-any/PKGBUILD (from rev 330156, perl-libwww/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2018-08-01 11:11:00 UTC (rev 330157)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-libwww
+pkgver=6.33
+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-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