# Maintainer: robertfoster pkgname=libchardet pkgver=1.0.5 pkgrel=1 pkgdesc="Mozilla's Universal Charset Detector C/C++ API" arch=('i686' 'x86_64') license=('MPL') url="http://ftp.oops.org/pub/oops/libchardet" depends=('gcc-libs' 'bash') options=('!libtool') source=("$pkgname-$pkgver.tar.gz::https://github.com/Joungkyun/libchardet/archive/${pkgver}.tar.gz") build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --disable-static make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } md5sums=('218efba7ae9789202d40fe8133311729')