2013-01-30 08:18:25 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Weng Xuetian <wengxt@gmail.com>
|
|
|
|
|
|
|
|
pkgname=librime
|
2013-11-13 22:14:42 +08:00
|
|
|
pkgver=1.0
|
|
|
|
pkgrel=1
|
2013-01-30 08:18:25 +08:00
|
|
|
pkgdesc="Rime input method engine"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://code.google.com/p/rimeime/"
|
|
|
|
license=('GPL3')
|
2013-07-01 08:57:17 +08:00
|
|
|
depends=('boost' 'google-glog' 'kyotocabinet' 'opencc' 'yaml-cpp>=0.5.0')
|
2013-01-30 08:18:25 +08:00
|
|
|
optdepends=('brise: Rime schema repository')
|
|
|
|
makedepends=('cmake')
|
2013-11-13 22:14:42 +08:00
|
|
|
source=("http://rimeime.googlecode.com/files/$pkgname-$pkgver.tar.gz")
|
2013-01-30 08:18:25 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/$pkgname"
|
2013-07-01 08:57:17 +08:00
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
|
2013-01-30 08:18:25 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/$pkgname"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
2013-11-13 22:14:42 +08:00
|
|
|
md5sums=('9ade135afaf88a9e1c76ebf478070725')
|