-
Notifications
You must be signed in to change notification settings - Fork 1
/
appimage.stable.yaml
36 lines (35 loc) · 1.03 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
#!/SBUILD
_disabled: false
pkg: "astroffers"
pkg_id: "github.com.jayhasyee.astroffers"
pkg_type: "appimage"
app_id: "github.com.jayhasyee.astroffers"
build_util:
- "curl#bin"
- "jq#bin"
category:
- "Utility"
description: "Take offers to watch at given nights by the NGC2000 catalog"
homepage:
- "https://github.com/jayhasyee/astroffers"
maintainer:
- "Azathothas (https://github.com/Azathothas)"
license:
- "MIT License"
src_url:
- "https://github.com/jayhasyee/astroffers"
x_exec:
shell: "bash"
pkgver: |
curl -qfsSL "https://api.gh.pkgforge.dev/repos/jayhasyee/astroffers/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)
echo -e "\n[✗] aarch64 is Not Yet Supported\n"
exit 1
;;
x86_64)
soar dl "https://github.com/jayhasyee/astroffers" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${SBUILD_PKG}" --yes
;;
esac