desktop/librime/PKGBUILD
2014-06-10 07:18:16 +00:00

30 lines
782 B
Bash

# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# Contributor: GONG Chen <chen dot sst at gmail dot com>
# Contributor: 網軍總司令
pkgname=librime
pkgver=1.1
pkgrel=2
pkgdesc="Rime input method engine"
arch=('x86_64')
url="http://code.google.com/p/rimeime/"
license=('GPL3')
depends=('boost-libs' 'google-glog' 'kyotocabinet' 'opencc' 'yaml-cpp>=0.5.0')
optdepends=('brise: Rime schema repository')
makedepends=('cmake' 'boost')
source=("http://rimeime.googlecode.com/files/$pkgname-$pkgver.tar.gz")
md5sums=('9f7831a40cd3d8af3fa08b073164238a')
build() {
cd "${srcdir}/$pkgname"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd "${srcdir}/$pkgname"
make DESTDIR="$pkgdir" install
}