void-packages/srcpkgs/librime/template

30 lines
800 B
Bash
Raw Normal View History

2017-12-26 11:15:21 +00:00
# Template file for 'rime'
pkgname=librime
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}"
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"
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
}
}