30 lines
788 B
Bash
30 lines
788 B
Bash
|
# Template file for 'rime'
|
||
|
pkgname=librime
|
||
|
version=1.2.9
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
configure_args="-DENABLE_LOGGING=Off"
|
||
|
wrksrc="librime-rime-${version}"
|
||
|
makedepends="marisa-devel boost-devel yaml-cpp-devel leveldb-devel opencc-devel"
|
||
|
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"
|
||
|
checksum=d9f0e732b5bf0ee9d8872d00c79322eec7682139a898a65555f794795ac5f410
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|