diff options
author | zxp19821005 | 2023-02-22 01:35:50 +0800 |
---|---|---|
committer | zxp19821005 | 2023-02-22 01:35:50 +0800 |
commit | 41a5628dc7216d5f1b26ab31f0cb6f12d418f2fc (patch) | |
tree | bb1b22ee97cbbecb8af90e8f98137e9c22c50f54 | |
download | aur-41a5628dc7216d5f1b26ab31f0cb6f12d418f2fc.tar.gz |
the first release
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1e129edf6774 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = fcitx-huayupinyin + pkgdesc = The Input Method Developed by thunisoft + pkgver = 2.4.8.198 + pkgrel = 1 + url = https://pinyin.thunisoft.com + arch = x86_64 + license = unknown + depends = cairo + depends = libxtst + depends = qt5-svg + depends = fcitx + depends = fcitx-qt5 + source = fcitx-huayupinyin_2.4.8.198.deb::https://pinyin.thunisoft.com/webapi/v1/downloadSetupFile?os=uos&cpu=x86 + sha512sums = 37b827751e0549cd6eda47b10902dd527550ce9674fc278940ff6f70cafd83349a9a3e9d2934894605cc6364ecf8c62e65a3de7f5a14e200288d9581aa56a814 + +pkgname = fcitx-huayupinyin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..410bbccc52f1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: zxp19821005 <zxp19821005 at 163 dot com> +pkgname=fcitx-huayupinyin +pkgver=2.4.8.198 +pkgrel=1 +pkgdesc="The Input Method Developed by thunisoft" +providers="thunisoft" +arch=('x86_64') +url="https://pinyin.thunisoft.com" +license=('unknown') +conflicts=() +depends=( + 'cairo' + 'libxtst' + 'qt5-svg' + 'fcitx' + 'fcitx-qt5' +) +options=() +source=( + "${pkgname}_${pkgver}.deb::https://pinyin.thunisoft.com/webapi/v1/downloadSetupFile?os=uos&cpu=x86" +) +sha512sums=('37b827751e0549cd6eda47b10902dd527550ce9674fc278940ff6f70cafd83349a9a3e9d2934894605cc6364ecf8c62e65a3de7f5a14e200288d9581aa56a814') + +prepare() { + bsdtar -xvf data.tar.xz + mv "${srcdir}/usr/lib/x86_64-linux-gnu/fcitx" "${srcdir}/usr/lib/" + rmdir "${srcdir}/usr/lib/x86_64-linux-gnu" + rm -r "${srcdir}/opt/apps/com.thunisoft.input/info" +} + +package() { + cp --parents -a {opt,usr} "${pkgdir}" +} |