# $Id: PKGBUILD 35276 2009-04-11 20:11:41Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Chaiwat Suttipongsakul <cwt114@gmail.com> pkgname=libdatrie pkgver=0.2.1 pkgrel=1 pkgdesc="Libdatrie is an implementation of double-array structure for representing trie, as proposed by Junichi Aoe." url="http://linux.thai.net/~thep/datrie/datrie.html" license=('LGPL') arch=('i686' 'x86_64') depends=('glibc') options=('!libtool' '!emptydirs') source=(http://linux.thai.net/pub/thailinux/software/libthai/${pkgname}-${pkgver}.tar.gz) md5sums=('196e485958f74cf13e676d93729067cf') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --disable-static || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }