core/libchewing/PKGBUILD
2014-04-24 01:07:50 +00:00

33 lines
813 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=1
pkgdesc="Improved Smart Chewing Library - Intelligent Chinese Phonetic Input Method"
arch=('x86_64')
url="http://chewing.im/"
license=("GPL")
depends=('glibc')
makedepends=('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 --enable-static=no
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check || return 0
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}