28 lines
770 B
Bash
28 lines
770 B
Bash
# Template file for 'librime'
|
|
pkgname=librime
|
|
version=1.3.2
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DENABLE_LOGGING=OFF -DBUILD_TEST=OFF"
|
|
makedepends="boost-devel leveldb-devel marisa-devel opencc-devel yaml-cpp-devel"
|
|
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=7b8c799cc7dc9f05bd69eab2710fc203d70c8782694f8a053bc1f63ee8757590
|
|
|
|
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
|
|
}
|
|
}
|