desktop/librime/PKGBUILD
2014-12-16 13:04:04 +00:00

31 lines
844 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
_pkgname=rime
pkgver=1.2
pkgrel=1
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' 'marisa')
optdepends=('brise: Rime schema repository')
makedepends=('cmake' 'boost')
source=("https://github.com/lotem/$pkgname/archive/$_pkgname-$pkgver.tar.gz")
md5sums=('bcb249dfaeb84d4a884bcc6a9dae433f')
build() {
cd "$srcdir/$pkgname-$_pkgname-$pkgver"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd "$srcdir/$pkgname-$_pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}