void-packages/srcpkgs/fcitx5-lua/template

34 lines
996 B
Bash
Raw Normal View History

2021-03-22 03:31:33 +01:00
# Template file for 'fcitx5-lua'
pkgname=fcitx5-lua
2021-05-14 17:00:57 +02:00
version=5.0.5
2021-03-22 03:31:33 +01:00
revision=1
build_style=cmake
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"
2021-05-14 17:00:57 +02:00
checksum=897bfa51ff554d2a4d6ec93f29ed7f09a8b78b79bbc3c4ae6bdc023c7f577938
2021-03-22 03:31:33 +01:00
lib32disabled=yes
pre_build() {
mkdir -p native
$CXX_FOR_BUILD $CXXFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD \
-o native/file2cstring src/file2cstring/file2cstring.cpp
PATH="${wrksrc}/native:$PATH"
}
fcitx5-lua-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}