[arch-commits] Commit in perl-libwww/repos (testing-any testing-any/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Mar 16 08:07:54 UTC 2017
Date: Thursday, March 16, 2017 @ 08:07:53
Author: arojas
Revision: 290913
archrelease: copy trunk to testing-any
Added:
perl-libwww/repos/testing-any/
perl-libwww/repos/testing-any/PKGBUILD
(from rev 290912, perl-libwww/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: perl-libwww/repos/testing-any/PKGBUILD (from rev 290912, perl-libwww/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2017-03-16 08:07:53 UTC (rev 290913)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-libwww
+pkgver=6.24
+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=(http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/libwww-perl-${pkgver}.tar.gz)
+sha1sums=('f3eb59ce251c59efba405519c76fa83a3503cfa2')
+
+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