29 lines
882 B
Bash
29 lines
882 B
Bash
# Template file for 'libfcitx-qt5'
|
|
pkgname=libfcitx-qt5
|
|
version=1.2.2
|
|
revision=1
|
|
build_style=cmake
|
|
short_desc="Flexible Context-aware Input Tool with eXtension - Qt5 IM module"
|
|
maintainer="Robert La Spina <rkidlaspina@gmail.com>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="https://fcitx-im.org/"
|
|
distfiles="http://download.fcitx-im.org/fcitx-qt5/fcitx-qt5-${version}.tar.xz"
|
|
checksum=24599e7789c7fd6edc0fa246d2f4b216e9b4b223112c1d40597fbb764a0bc3b4
|
|
hostmakedepends="pkg-config extra-cmake-modules"
|
|
makedepends="libxkbcommon-devel qt5-devel fcitx-devel"
|
|
|
|
wrksrc="fcitx-qt5-${version}"
|
|
|
|
if [ -n "$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
|
|
}
|
|
}
|