diff options
author | zxp19821005 | 2023-03-05 09:35:41 +0800 |
---|---|---|
committer | zxp19821005 | 2023-03-05 09:35:41 +0800 |
commit | 7c6f05bf0da474656d8e6295a5c2b9ef0c787b3f (patch) | |
tree | 203871b384873c3ed9e3eb0ed442f0b8549e1a26 | |
parent | 41a5628dc7216d5f1b26ab31f0cb6f12d418f2fc (diff) | |
download | aur-7c6f05bf0da474656d8e6295a5c2b9ef0c787b3f.tar.gz |
fix errors
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 10 insertions, 23 deletions
@@ -1,16 +1,15 @@ pkgbase = fcitx-huayupinyin pkgdesc = The Input Method Developed by thunisoft pkgver = 2.4.8.198 - pkgrel = 1 + pkgrel = 2 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 + source = fcitx-huayupinyin_2.4.8.198.deb::https://com-store-packages.uniontech.com/appstore/pool/appstore/c/com.thunisoft.input/com.thunisoft.input_2.4.8.198_amd64.deb sha512sums = 37b827751e0549cd6eda47b10902dd527550ce9674fc278940ff6f70cafd83349a9a3e9d2934894605cc6364ecf8c62e65a3de7f5a14e200288d9581aa56a814 pkgname = fcitx-huayupinyin @@ -1,33 +1,21 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=fcitx-huayupinyin pkgver=2.4.8.198 -pkgrel=1 +pkgrel=2 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' -) +depends=('libxtst' 'qt5-svg' 'fcitx' 'fcitx-qt5') options=() -source=( - "${pkgname}_${pkgver}.deb::https://pinyin.thunisoft.com/webapi/v1/downloadSetupFile?os=uos&cpu=x86" -) +source=("${pkgname}_${pkgver}.deb::https://com-store-packages.uniontech.com/appstore/pool/appstore/c/com.thunisoft.input/com.thunisoft.input_2.4.8.198_amd64.deb") 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}" + bsdtar -xvf data.tar.xz -C "${pkgdir}" + mv "${pkgdir}/usr/lib/x86_64-linux-gnu/fcitx" "${pkgdir}/usr/lib/" + rmdir "${pkgdir}/usr/lib/x86_64-linux-gnu" + rm -r "${pkgdir}/opt/apps/com.thunisoft.input/info" + find "${pkgdir}" -type d -exec chmod 755 {} \; } |