summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-03-05 09:35:41 +0800
committerzxp198210052023-03-05 09:35:41 +0800
commit7c6f05bf0da474656d8e6295a5c2b9ef0c787b3f (patch)
tree203871b384873c3ed9e3eb0ed442f0b8549e1a26
parent41a5628dc7216d5f1b26ab31f0cb6f12d418f2fc (diff)
downloadaur-7c6f05bf0da474656d8e6295a5c2b9ef0c787b3f.tar.gz
fix errors
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD28
2 files changed, 10 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1e129edf6774..7f7568102973 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 410bbccc52f1..f7380d1841d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 {} \;
}