core/libchewing/PKGBUILD

33 lines
802 B
Bash

#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
#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
}