# Template file for 'fcitx5-lua'
pkgname=fcitx5-lua
version=5.0.7
revision=1
build_style=cmake
configure_args="-DUSE_DLOPEN=No"
hostmakedepends="cldr-emoji-annotation pkg-config gettext doxygen
 extra-cmake-modules"
makedepends="libfcitx5-devel fmt-devel lua53-devel"
depends="fcitx5"
checkdepends="fcitx5"
short_desc="Lua scripting support for fcitx5"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fcitx/fcitx5-lua"
distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-lua/fcitx5-lua-${version}.tar.xz"
checksum=bff8e5143912b212726b2bab8cf62bbd11ca4f3837b65cb8ce94a7c56fc15f2d
lib32disabled=yes

fcitx5-lua-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
	}
}
