1 # Maintainer: Abby Pan <abbypan@gmail.com>
3 pkgname=perl-encode-detect-cjk
6 pkgdesc="A Charset Detector, optimized for EastAsia charset and website content."
8 url="http://cpan.uwinnipeg.ca/dist/Encode-Detect-CJK"
9 license=('GPL' 'PerlArtistic')
10 options=('!emptydirs')
12 http://cpan.uwinnipeg.ca/cpan/authors/id/F/FO/FOOLFISH/Encode-Detect-CJK-$pkgver.tar.gz
14 md5sums=('7dacbfa50afb78445c1ae2cb4fd1f4b9')
17 cd $startdir/src/Encode-Detect-CJK-$pkgver
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make install DESTDIR=$startdir/pkg || return 1
21 find $startdir/pkg -name '.packlist' -delete
22 find $startdir/pkg -name '*.pod' -delete