原链接被重定向了,修改如下:
pkgver=4.0.1.2800
filename=sogoupinyin_${pkgver}_x86_64.deb
url="https://shurufa.sogou.com/linux"
sha256sum="5d851c647c8b02c7f0b1853c3e516bfd1bdd9c5628333c07e9851a617336deb7"
prepare(){
...
curl -s $url | grep -o "https://[0-9a-z:\/\._]*/$filename" | xargs curl -o $startdir/$filename
...
}
Pinned Comments
bianjp commented on 2016-10-13 02:37 (UTC) (edited on 2018-01-05 14:59 (UTC) by bianjp)
Gnome 3.22 changes the default backend to Wayland but fcitx does not fully support wayland yet. Switch to "Gnome on xorg" if fcitx-sogou does not work.
Unable to start? Try rm -rf ~/.sogouinput
Still not working? Try rm -rf ~/.sogouinput ~/.config/SogouPY* and re-login.