void-packages/srcpkgs/libfcitx-qt5/template

29 lines
900 B
Bash

# Template file for 'libfcitx-qt5'
pkgname=libfcitx-qt5
version=1.2.3
revision=1
wrksrc="fcitx-qt5-${version}"
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config"
makedepends="fcitx-devel libxkbcommon-devel qt5-devel"
short_desc="Flexible Context-aware Input Tool with eXtension - Qt5 IM module"
maintainer="Robert La Spina <rkidlaspina@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://fcitx-im.org/"
distfiles="http://download.fcitx-im.org/fcitx-qt5/fcitx-qt5-${version}.tar.xz"
checksum=fef09d3f5a7e6b4860169290c0cfe731a9039793ebbf43f6d823fcb920c3dfa5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools libfcitx"
fi
libfcitx-qt5-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}