core/libchewing/PKGBUILD
2016-05-11 00:27:32 +01:00

26 lines
683 B
Bash

#contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/libchewing/
pkgname=libchewing
pkgver=0.5.0
pkgrel=1
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/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('3e469d1b5782b4b43f4297db9490cf023d1bd16e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}