summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 20:43:15 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 20:43:15 (GMT)
commita746d63b0412b4bff7a0ef4f1cf91ca973dc27c9 (patch)
treeee4418a9ca9e2c5b293297f5671b9db510f57099
parent090acaaaabd3388f158a680e39ae141d279e1318 (diff)
downloadlinhes_pkgbuild-a746d63b0412b4bff7a0ef4f1cf91ca973dc27c9.zip
linhes_pkgbuild-a746d63b0412b4bff7a0ef4f1cf91ca973dc27c9.tar.gz
linhes_pkgbuild-a746d63b0412b4bff7a0ef4f1cf91ca973dc27c9.tar.bz2
perl-html-tree: update to 5.06
-rw-r--r--abs/core/perl_modules/perl-html-tree/PKGBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/abs/core/perl_modules/perl-html-tree/PKGBUILD b/abs/core/perl_modules/perl-html-tree/PKGBUILD
index f946545..d056d31 100644
--- a/abs/core/perl_modules/perl-html-tree/PKGBUILD
+++ b/abs/core/perl_modules/perl-html-tree/PKGBUILD
@@ -1,23 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-html-tree
-pkgver=3.23
-pkgrel=6
+pkgver=5.06
+pkgrel=2
pkgdesc="Make parse trees out of HTML source"
-arch=('i686' 'x86_64')
-url="http://search.cpan.org/~PETEK/HTML-Tree"
+arch=('any')
+url="http://search.cpan.org/dist/HTML-Tree"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-html-tagset>=3.02' 'perl-html-parser>=3.46')
+makedepends=('perl-test-fatal' 'perl-module-build')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/P/PE/PETEK/HTML-Tree-$pkgver.tar.gz)
-md5sums=('6352f50be402301f79b580dd235d7762')
+source=(http://search.cpan.org/CPAN/authors/id/K/KE/KENTNL/HTML-Tree-$pkgver.tar.gz)
+sha256sums=('9c36eb19cbdf9a5906c858948ca51c35bd7561f52cc18c43281acbe57327536e')
build() {
- cd $startdir/src/HTML-Tree-$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
+ cd "$srcdir"/HTML-Tree-$pkgver
+ perl Build.PL installdirs=vendor destdir="$pkgdir/"
+ perl Build
+}
+
+package() {
+ cd "$srcdir"/HTML-Tree-$pkgver
+ perl Build install
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
}