mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
933 B
Bash
30 lines
933 B
Bash
# $Id: PKGBUILD 52355 2009-09-18 18:01:30Z francois $
|
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
|
# Contributor: Manolis Tzanidakis
|
|
# Contributor: Firmicus <francois.archlinux.org>
|
|
|
|
pkgname=perl-html-parser
|
|
_realname=HTML-Parser
|
|
pkgver=3.62
|
|
pkgrel=1
|
|
pkgdesc="Perl HTML parser class"
|
|
arch=('i686' 'x86_64')
|
|
license=('PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl-html-tagset' 'perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('2aad75367af5173514f564122ba028c7')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|
|
# vim: ts=2 sw=2 et ft=sh
|