diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/perl_modules/perl-www-mechanize/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/perl_modules/perl-www-mechanize/PKGBUILD')
-rw-r--r-- | abs/core-testing/perl_modules/perl-www-mechanize/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-www-mechanize/PKGBUILD b/abs/core-testing/perl_modules/perl-www-mechanize/PKGBUILD new file mode 100644 index 0000000..9bbd409 --- /dev/null +++ b/abs/core-testing/perl_modules/perl-www-mechanize/PKGBUILD @@ -0,0 +1,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 +} |