From c99e40c9f98504b7fb9e8240de13189c985a9e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 22 Mar 2021 09:31:33 +0700 Subject: [PATCH] New package: fcitx5-lua-5.0.4 --- srcpkgs/fcitx5-lua-devel | 1 + srcpkgs/fcitx5-lua/template | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 120000 srcpkgs/fcitx5-lua-devel create mode 100644 srcpkgs/fcitx5-lua/template diff --git a/srcpkgs/fcitx5-lua-devel b/srcpkgs/fcitx5-lua-devel new file mode 120000 index 00000000000..afec5c01e1e --- /dev/null +++ b/srcpkgs/fcitx5-lua-devel @@ -0,0 +1 @@ +fcitx5-lua \ No newline at end of file diff --git a/srcpkgs/fcitx5-lua/template b/srcpkgs/fcitx5-lua/template new file mode 100644 index 00000000000..30f51aa1c42 --- /dev/null +++ b/srcpkgs/fcitx5-lua/template @@ -0,0 +1,33 @@ +# Template file for 'fcitx5-lua' +pkgname=fcitx5-lua +version=5.0.4 +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 " +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=7c8899cb6f05074263e66b95a8717594f9d5c5c1e693bfe9cf4660bbba1f9336 +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 + } +}