# $Id: PKGBUILD 142250 2011-11-07 09:20:43Z jgc $ # Maintainer: Jan de Groot # Contributor: Chaiwat Suttipongsakul pkgname=libthai pkgver=0.1.16 pkgrel=1 pkgdesc="Thai language support routines" url="http://linux.thai.net/projects/libthai" arch=('i686' 'x86_64') license=('LGPL') depends=('libdatrie') makedepends=('pkgconfig') options=('!libtool' '!emptydirs') source=(http://linux.thai.net/pub/thailinux/software/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('631ae09f531db6c94aedcc7ce226d6a5') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --disable-static make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }