updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-encode-detect-cjk / PKGBUILD
blobe04870a48426fd3cdee48855f7ba77276ee8524b
1 # Maintainer: Abby Pan <abbypan@gmail.com>
3 pkgname=perl-encode-detect-cjk
4 pkgver=2.0.2
5 pkgrel=1
6 pkgdesc="A Charset Detector, optimized for EastAsia charset and website content."
7 arch=('i686' 'x86_64')
8 url="http://cpan.uwinnipeg.ca/dist/Encode-Detect-CJK"
9 license=('GPL' 'PerlArtistic')
10 options=('!emptydirs')
11 source=(
12 http://cpan.uwinnipeg.ca/cpan/authors/id/F/FO/FOOLFISH/Encode-Detect-CJK-$pkgver.tar.gz
14 md5sums=('7dacbfa50afb78445c1ae2cb4fd1f4b9')
16 build() {
17   cd  $startdir/src/Encode-Detect-CJK-$pkgver
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
19   make || return 1
20   make install DESTDIR=$startdir/pkg || return 1
21   find $startdir/pkg -name '.packlist' -delete
22   find $startdir/pkg -name '*.pod' -delete