summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-www-mechanize/PKGBUILD
blob: 9bbd409295325ec101e99fe034335648b1ef2ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD,v 1.11 2008/03/24 16:16:28 sergej Exp $
# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-www-mechanize
pkgver=1.34
pkgrel=2
pkgdesc="Automates web page form & link interaction"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~PETDANCE/WWW-Mechanize"
license=('GPL' 'PerlArtistic')
depends=('perl-libwww' 'perl-html-parser' 'perl-uri')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/WWW-Mechanize-$pkgver.tar.gz) 
md5sums=('77a5c025b9a722b62884b7740b8133f9')

build() {
  cd  $startdir/src/WWW-Mechanize-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}