-
Notifications
You must be signed in to change notification settings - Fork 1
/
appimage.stable.yaml
46 lines (45 loc) · 1.22 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
#!/SBUILD
_disabled: false
pkg: "sabaki"
pkg_id: "github.com.yishn.Sabaki"
pkg_type: "appimage"
app_id: "github.com.yishn.Sabaki"
build_util:
- "curl#bin"
- "jq#bin"
category:
- "Utility"
description: "An elegant Go board and SGF editor for a more civilized age."
distro_pkg:
archlinux:
aur:
- "sabaki"
- "sabaki-bin"
- "sabaki-git"
homepage:
- "http://sabaki.yichuanshen.de"
- "https://github.com/SabakiHQ/Sabaki"
- "https://sabaki.yichuanshen.de"
maintainer:
- "Azathothas (https://github.com/Azathothas)"
license:
- "MIT"
- "MIT License"
src_url:
- "https://github.com/yishn/Sabaki"
tag:
- "baduk"
x_exec:
shell: "bash"
pkgver: |
curl -qfsSL "https://api.gh.pkgforge.dev/repos/yishn/Sabaki/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]'
run: |
#Download
case "$(uname -m)" in
aarch64)
soar dl "https://github.com/yishn/Sabaki" --match "appimage" --exclude "x86,x64,arm,zsync" -o "./${SBUILD_PKG}" --yes
;;
x86_64)
soar dl "https://github.com/yishn/Sabaki" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${SBUILD_PKG}" --yes
;;
esac