31 lines
928 B
Bash
31 lines
928 B
Bash
# Template file for 'libfcitx-qt5'
|
|
pkgname=libfcitx-qt5
|
|
version=1.2.4
|
|
revision=1
|
|
wrksrc="fcitx-qt5-${version}"
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake
|
|
qt5-host-tools libfcitx"
|
|
makedepends="fcitx-devel libxkbcommon-devel qt5-devel"
|
|
short_desc="Flexible Context-aware Input Tool with eXtension - Qt5 IM module"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later, BSD-3-Clause"
|
|
homepage="https://fcitx-im.org/"
|
|
distfiles="http://download.fcitx-im.org/fcitx-qt5/fcitx-qt5-${version}.tar.xz"
|
|
checksum=b7030474b72c8fc3d77f329815e5a577d17929b8365dd82fca23200aab12b454
|
|
patch_args=-Np1
|
|
|
|
post_install() {
|
|
vlicense COPYING.BSD
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|