From acde958aa0c6865dae3128374ed1b7e7b09474d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 25 Mar 2021 22:34:18 +0700 Subject: [PATCH] New package: fcitx5-zhuyin-5.0.4 --- srcpkgs/fcitx5-zhuyin/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/fcitx5-zhuyin/template diff --git a/srcpkgs/fcitx5-zhuyin/template b/srcpkgs/fcitx5-zhuyin/template new file mode 100644 index 00000000000..4e55fb1bec5 --- /dev/null +++ b/srcpkgs/fcitx5-zhuyin/template @@ -0,0 +1,24 @@ +# Template file for 'fcitx5-zhuyin' +pkgname=fcitx5-zhuyin +version=5.0.4 +revision=1 +build_style=cmake +hostmakedepends="pkg-config gettext doxygen extra-cmake-modules libzhuyin" +makedepends="libfcitx5-devel fmt-devel opencc-devel fcitx5-lua-devel + libzhuyin-devel libpinyin-utils" +short_desc="Fcitx5 - zhuyin IME" +maintainer="Đoàn Trần Công Danh " +license="GPL-3.0-or-later" +homepage="https://fcitx-im.org/wiki/Fcitx" +_model_version=20161206 +distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-zhuyin/fcitx5-zhuyin-${version}.tar.xz + https://download.fcitx-im.org/data/model.text.${_model_version}.tar.gz" +checksum="3b692408bcbd816fec84c7ad73ec4e4816b686a072eb9d671aaa8be079fc3728 + 5c7024e5735389c471f54b867eda0d98c5a40a5e5e75333a9febac107508f704" +skip_extraction="model.text.${_model_version}.tar.gz" +lib32disabled=yes + +post_extract() { + local _srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} + cp ${_srcdistdir}/$skip_extraction data +}