32 lines
956 B
Bash
32 lines
956 B
Bash
# Template file for 'librime'
|
|
pkgname=librime
|
|
version=1.7.3
|
|
revision=8
|
|
build_style=cmake
|
|
configure_args="-DCMAKE_BUILD_TYPE=None -DENABLE_LOGGING=OFF -DBUILD_TEST=ON
|
|
-DCAPNP_EXECUTABLE=/usr/bin/capnp -DCAPNPC_CXX_EXECUTABLE=/usr/bin/capnpc-c++"
|
|
hostmakedepends="pkg-config capnproto"
|
|
makedepends="boost-devel leveldb-devel marisa-devel opencc-devel
|
|
yaml-cpp-devel gtest-devel capnproto-devel xorgproto"
|
|
short_desc="Rime Input Method Engine"
|
|
maintainer="Yuxuan Shui <yshuiv7@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/rime/librime"
|
|
distfiles="https://github.com/rime/librime/archive/${version}.tar.gz"
|
|
checksum=c76b937a27d7b9352c3eea9eb3adaebf70c93457104c7d47d40c006009092c20
|
|
|
|
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/cmake
|
|
}
|
|
}
|