PKGBUILDs/community/perl-html-tableextract/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
900 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-html-tableextract
pkgver=2.10
pkgrel=4
pkgdesc="Perl/CPAN Module HTML::TableExtract : Flexible HTML table extraction"
arch=("i686" "x86_64")
url="http://search.cpan.org/~msisk/HTML-TableExtract/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-2.10.tar.gz")
md5sums=('e6e355f6049dc57706e719c5ce61ff39')
makedepends=("perl-html-parser" "perl-html-element-extended")
depends=("perl-html-parser" "perl-html-element-extended")
build() {
cd $startdir/src/HTML-TableExtract-2.10
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
}