desktop/librime/PKGBUILD

30 lines
782 B
Bash
Raw Normal View History

2014-04-19 08:05:37 +08:00
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# Contributor: GONG Chen <chen dot sst at gmail dot com>
# Contributor: 網軍總司令
2013-01-30 08:18:25 +08:00
pkgname=librime
2014-04-19 08:05:37 +08:00
pkgver=1.1
2014-06-10 15:18:16 +08:00
pkgrel=2
2013-01-30 08:18:25 +08:00
pkgdesc="Rime input method engine"
2014-04-19 08:05:37 +08:00
arch=('x86_64')
2013-01-30 08:18:25 +08:00
url="http://code.google.com/p/rimeime/"
license=('GPL3')
2014-04-19 08:05:37 +08:00
depends=('boost-libs' 'google-glog' 'kyotocabinet' 'opencc' 'yaml-cpp>=0.5.0')
2013-01-30 08:18:25 +08:00
optdepends=('brise: Rime schema repository')
2014-04-19 08:05:37 +08:00
makedepends=('cmake' 'boost')
2013-11-13 22:14:42 +08:00
source=("http://rimeime.googlecode.com/files/$pkgname-$pkgver.tar.gz")
2014-04-19 08:05:37 +08:00
md5sums=('9f7831a40cd3d8af3fa08b073164238a')
2013-01-30 08:18:25 +08:00
build() {
cd "${srcdir}/$pkgname"
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
}