2017-12-26 11:15:21 +00:00
|
|
|
# Template file for 'rime'
|
|
|
|
pkgname=librime
|
2018-03-10 22:26:25 +00:00
|
|
|
version=1.3.0
|
2017-12-26 11:15:21 +00:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DENABLE_LOGGING=Off"
|
|
|
|
wrksrc="librime-rime-${version}"
|
2018-03-05 10:36:27 +00:00
|
|
|
makedepends="marisa-devel boost-devel yaml-cpp-devel leveldb-devel opencc-devel gtest-devel"
|
2017-12-26 11:15:21 +00:00
|
|
|
short_desc="Rime Input Method Engine"
|
|
|
|
maintainer="Yuxuan Shui <yshuiv7@gmail.com>"
|
|
|
|
license="3-clause-BSD"
|
|
|
|
homepage="https://github.com/rime/librime"
|
|
|
|
distfiles="https://github.com/rime/librime/archive/rime-${version}.tar.gz"
|
2018-03-10 22:26:25 +00:00
|
|
|
checksum=a2deaa510027d460ca7d3b05595bea8e4cbe1683adb74343820480297d10fd8c
|
2017-12-26 11:15:21 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
librime-devel_package() {
|
|
|
|
depends="librime-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|