# Description: Mozilla's Universal Charset Detector C/C++ API
# URL: https://github.com/Joungkyun/libchardet
# Maintainer: unmaintained

name=libchardet
version=1.0.6
release=1
source=(https://github.com/Joungkyun/libchardet/archive/$version/$name-$version.tar.gz)

build() {
  cd $name-$version
  ./configure --prefix=/usr \
    --disable-static
  make
  make DESTDIR=$PKG install

  rm -r $PKG/usr/share/{doc,man/ko}
}
