#maintainer: Neophytos Kolokotronis #contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/libchewing/ pkgname=libchewing pkgver=0.4.0 pkgrel=3 pkgdesc="Improved Smart Chewing Library - Intelligent Chinese Phonetic Input Method" arch=('x86_64') url="http://chewing.im/" license=("GPL") depends=('sqlite3') makedepends=('valgrind' 'libtool') options=('!libtool') source=("https://github.com/chewing/libchewing/archive/v${pkgver}.tar.gz") sha1sums=('f66c6176d8565dbf8f0026beea0cf824aa013a39') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./autogen.sh ./configure --prefix=/usr make } check() { cd "${srcdir}/${pkgname}-${pkgver}" make check } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }