desktop/librime/PKGBUILD

29 lines
875 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
2016-08-21 01:50:04 +08:00
_pkgname=rime
pkgver=1.2.9
epoch=2 # 1.2.20160314 → 1.2.9
2017-03-18 01:29:55 +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')
2016-03-15 09:52:58 +08:00
depends=('boost-libs' 'opencc' 'yaml-cpp>=0.5.0' 'leveldb' 'google-glog' 'marisa')
2013-01-30 08:18:25 +08:00
optdepends=('brise: Rime schema repository')
2015-10-05 02:14:46 +08:00
makedepends=('cmake' 'boost' 'git')
2016-08-21 01:50:04 +08:00
source=("https://github.com/rime/librime/archive/rime-$pkgver.tar.gz")
sha512sums=('2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a')
2015-10-05 02:14:46 +08:00
2013-01-30 08:18:25 +08:00
build() {
2016-08-21 01:50:04 +08:00
cd $srcdir/$pkgname-$_pkgname-$pkgver
2013-01-30 08:18:25 +08:00
make
}
package() {
2016-08-21 01:50:04 +08:00
cd $srcdir/$pkgname-$_pkgname-$pkgver
2013-01-30 08:18:25 +08:00
make DESTDIR="$pkgdir" install
}