# $Id: PKGBUILD 35277 2009-04-11 20:15:53Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Chaiwat Suttipongsakul <cwt114@gmail.com> pkgname=libthai pkgver=0.1.11 pkgrel=2 pkgdesc="Thai language support routines" url="http://linux.thai.net/projects/libthai" arch=('i686' 'x86_64') license=('LGPL') depends=('libdatrie>=0.2.1') makedepends=('pkgconfig') options=('!libtool' '!emptydirs') source=(http://linux.thai.net/pub/thailinux/software/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('f27fd7b67116939b2676ddff7180957a') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --disable-static || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }