desktop/libchardet/PKGBUILD
2015-02-09 08:19:41 +00:00

27 lines
695 B
Bash

# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
# Original Maintainer on CCR: ahjolinna <ahjolinna@ovi.com>
pkgname=libchardet
pkgver=1.0.4
pkgrel=2
pkgdesc="Mozilla's Universal Charset Detector C/C++ API"
arch=('x86_64')
license=('MPL')
url="http://ftp.oops.org/pub/oops/libchardet"
depends=('gcc-libs' 'bash')
options=('!libtool')
source=("ftp://ftp.oops.org/pub/oops/$pkgname/${pkgname}-${pkgver}.tar.bz2")
md5sums=('93edadd9353325405d6e092127339f33')
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
}