1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
2 pkgname=perl-html-encoding
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')
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/B/BJ/BJOERN/HTML-Encoding-$pkgver.tar.gz")
12 md5sums=('bce9f00f04ad055feaa4d6511b30e421')
15 cd "$srcdir/HTML-Encoding-$pkgver"
17 perl Makefile.PL INSTALLDIRS=vendor || 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;