-
Notifications
You must be signed in to change notification settings - Fork 1
/
appimage.stable.yaml
68 lines (67 loc) · 1.68 KB
/
appimage.stable.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/SBUILD
_disabled: false
pkg: "ibus-rime"
pkg_id: "github.com.hchunhui.ibus-rime.AppImage"
pkg_type: "appimage"
app_id: "github.com.hchunhui.ibus-rime.AppImage"
build_util:
- "curl#bin"
- "jq#bin"
category:
- "Utility"
description: "null"
distro_pkg:
alpine:
- "ibus-rime"
archlinux:
extra:
- "ibus-rime"
debian:
- "ibus-rime"
nixpkgs:
- "ibus-engines.rime"
homepage:
- "http://code.google.com/p/rimeime"
- "https://github.com/lotem/ibus-rime"
- "https://github.com/rime/ibus-rime"
- "https://rime.im"
maintainer:
- "Azathothas (https://github.com/Azathothas)"
license:
- "GPL-3+"
- "GPL-3.0"
- "GPL-3.0-only"
- "GPL-3.0-or-later"
- "GPL3"
- "GPLv3"
src_url:
- "https://github.com/hchunhui/ibus-rime.AppImage"
tag:
- "System/I18n/Chinese"
- "System/Internationalization"
- "System/Libraries"
- "app-i18n"
- "chinese"
- "debug"
- "desktop.core"
- "ibus-engines"
- "inputmethod"
- "libs"
- "x11"
x_exec:
shell: "bash"
pkgver: |
curl -qfsSL "https://api.gh.pkgforge.dev/repos/hchunhui/ibus-rime.AppImage/releases/latest?per_page=100" | jq -r '.. | objects | .browser_download_url? // empty' | sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | sed 's/^[^0-9]*//; s/[^0-9]*$//' | sort --version-sort | tail -n 1 | tr -d '[:space:]'
run: |
#Tag
RELEASE_TAG="$(cat ./${SBUILD_PKG}.version)"
#Download
case "$(uname -m)" in
aarch64)
echo -e "\n[✗] aarch64 is Not Yet Supported\n"
exit 1
;;
x86_64)
soar dl "https://github.com/hchunhui/ibus-rime.AppImage@${RELEASE_TAG}" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${SBUILD_PKG}" --yes
;;
esac