diff options
Diffstat (limited to 'extra/perl-html-parser/PKGBUILD')
-rw-r--r-- | extra/perl-html-parser/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/perl-html-parser/PKGBUILD b/extra/perl-html-parser/PKGBUILD new file mode 100644 index 000000000..b2dd0537e --- /dev/null +++ b/extra/perl-html-parser/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 100913 2010-11-26 16:20:58Z kevin $ +# Maintainer: kevin <kevin@archlinux.org> +# Contributor: Manolis Tzanidakis +# Contributor: Firmicus <francois.archlinux.org> + +pkgname=perl-html-parser +_realname=HTML-Parser +pkgver=3.68 +pkgrel=1 +pkgdesc="Perl HTML parser class" +arch=('i686' 'x86_64' 'mips64el') +license=('PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl-html-tagset' 'perl>=5.12.1') +options=(!emptydirs) +source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz) +md5sums=('5550b2da7aa94341f1e8a17a4ac20c68') + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor + make + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" +} +# vim: ts=2 sw=2 et ft=sh |