[arch-commits] Commit in perl-www-mechanize/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Jun 2 03:28:49 UTC 2017


    Date: Friday, June 2, 2017 @ 03:28:47
  Author: felixonmars
Revision: 232665

archrelease: copy trunk to community-staging-any

Added:
  perl-www-mechanize/repos/community-staging-any/
  perl-www-mechanize/repos/community-staging-any/PKGBUILD
    (from rev 232664, perl-www-mechanize/trunk/PKGBUILD)

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

Copied: perl-www-mechanize/repos/community-staging-any/PKGBUILD (from rev 232664, perl-www-mechanize/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-02 03:28:47 UTC (rev 232665)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-www-mechanize
+pkgver=1.84
+pkgrel=2
+pkgdesc="Automates web page form & link interaction"
+arch=(any)
+url="http://search.cpan.org/dist/WWW-Mechanize"
+license=('GPL' 'PerlArtistic')
+depends=('perl-libwww' 'perl-html-parser' 'perl-uri' 'perl-http-response-encoding'
+	 'perl-http-server-simple' 'perl-test-warn' 'perl-html-form')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/WWW-Mechanize-$pkgver.tar.gz)
+sha256sums=('15e0fdb30ade2e0a84a5c2f30b834fda2af74c1caf9891ae664751505a762f1a')
+
+build() {
+  cd  "$srcdir"/WWW-Mechanize-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/WWW-Mechanize-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list