diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/perl_modules/perl-www-mechanize/PKGBUILD | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/perl_modules/perl-www-mechanize/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-www-mechanize/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/abs/core/perl_modules/perl-www-mechanize/PKGBUILD b/abs/core/perl_modules/perl-www-mechanize/PKGBUILD index ea4e61b..6b76209 100644 --- a/abs/core/perl_modules/perl-www-mechanize/PKGBUILD +++ b/abs/core/perl_modules/perl-www-mechanize/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 66104 2012-02-23 01:05:44Z spupykin $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-www-mechanize -pkgver=1.72 +pkgver=1.88 pkgrel=1 pkgdesc="Automates web page form & link interaction" arch=(any) @@ -12,14 +12,18 @@ 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/J/JE/JESSE/WWW-Mechanize-$pkgver.tar.gz) -md5sums=('231709669de7d912185b91e454206532') +source=(http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/WWW-Mechanize-$pkgver.tar.gz) +sha256sums=('36d97e778ab911ab5a762d551541686cbf3463c571f474322f7b5da77f50a879') build() { - cd $srcdir/WWW-Mechanize-$pkgver + cd "$srcdir"/WWW-Mechanize-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +} + +package() { + cd "$srcdir"/WWW-Mechanize-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } |