void-packages/srcpkgs/librime/template
maxice8 b10bdd2d1a
librime: update to 1.3.1.
Closes: #13125 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-23 06:04:18 +02:00

30 lines
801 B
Bash

# Template file for 'rime'
pkgname=librime
version=1.3.1
revision=1
build_style=cmake
configure_args="-DENABLE_LOGGING=Off"
wrksrc="librime-rime-${version}"
makedepends="boost-devel gtest-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/rime-${version}.tar.gz"
checksum=24bb6595c3191692f02686d6363515c73c9d3ffcfe592155573b63abd050a718
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
}
}