core/libchewing/PKGBUILD

33 lines
813 B
Bash
Raw Normal View History

2013-06-20 19:20:09 +08:00
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
#contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/libchewing/
2010-03-14 23:48:48 +08:00
pkgname=libchewing
2014-04-24 09:07:50 +08:00
pkgver=0.4.0
2010-03-14 23:48:48 +08:00
pkgrel=1
pkgdesc="Improved Smart Chewing Library - Intelligent Chinese Phonetic Input Method"
2013-06-20 19:20:09 +08:00
arch=('x86_64')
2014-03-31 01:32:58 +08:00
url="http://chewing.im/"
2010-03-14 23:48:48 +08:00
license=("GPL")
depends=('glibc')
makedepends=('libtool')
options=('!libtool')
2014-03-31 01:32:58 +08:00
source=("https://github.com/chewing/libchewing/archive/v${pkgver}.tar.gz")
2014-04-24 09:07:50 +08:00
sha1sums=('f66c6176d8565dbf8f0026beea0cf824aa013a39')
2010-03-14 23:48:48 +08:00
build() {
2011-06-20 08:20:06 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2014-03-31 01:32:58 +08:00
./autogen.sh
2011-06-20 08:20:06 +08:00
./configure --prefix=/usr --enable-static=no
make
}
2014-04-24 09:07:50 +08:00
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check || return 0
}
2011-06-20 08:20:06 +08:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}