void-packages/srcpkgs/libchewing/template

28 lines
807 B
Bash

# Template file for 'libchewing'
pkgname=libchewing
version=0.5.1
revision=5
build_style=cmake
build_helper="qemu"
hostmakedepends="texinfo"
makedepends="sqlite-devel"
short_desc="Intelligent phonetic (Zhuyin/Bopomofo) input method"
maintainer="Robert Stancil <robert.stancil@mavs.uta.edu>"
license="LGPL-2.1-only"
homepage="http://chewing.im/"
distfiles="https://github.com/chewing/libchewing/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
checksum=9708c63415fa6034435c0f38100e7d30d0e1bac927f67bec6dfeb3fef016172b
replaces="libchewing-data>=0"
libchewing-devel_package() {
depends="libchewing>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/info
}
}