updated on Fri Jan 13 00:14:41 UTC 2012
[aur-mirror.git] / perl-html-encoding / PKGBUILD
blob8d184e5e76e878ccc5583b7f01608d2d7ecfcf9e
1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
2 pkgname=perl-html-encoding
3 pkgver=0.61
4 pkgrel=1
5 pkgdesc='Determine the encoding of HTML/XML/XHTML documents.'
6 url='http://search.cpan.org/~bjoern/HTML-Encoding-0.61/'
7 depends=('perl' 'perl-html-parser' 'perl-libwww')
8 arch=('any')
9 license=('GPL')
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/B/BJ/BJOERN/HTML-Encoding-$pkgver.tar.gz")
12 md5sums=('bce9f00f04ad055feaa4d6511b30e421')
14 build() {
15   cd "$srcdir/HTML-Encoding-$pkgver"
17   perl Makefile.PL INSTALLDIRS=vendor || return 1
18   make || return 1
19   make test || return 1
20   make DESTDIR="$pkgdir" install || return 1
22   # Removing unnecessary stuff
23   find "$pkgdir" -type f -name 'perllocal.pod' -delete;
24   find "$pkgdir" -type f -name '.packlist' -delete;