-
Notifications
You must be signed in to change notification settings - Fork 1
/
appimage.stable.yaml
42 lines (41 loc) · 1.38 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
#!/SBUILD
_disabled: false
pkg: "linuxdeployqt"
pkg_id: "github.com.probonopd.linuxdeployqt"
pkg_type: "appimage"
app_id: "github.com.probonopd.linuxdeployqt"
build_util:
- "curl#bin"
- "jq#bin"
category:
- "Utility"
description: "Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications"
distro_pkg:
archlinux:
homepage:
- "https://github.com/probonopd/linuxdeployqt"
maintainer:
- "Azathothas (https://github.com/Azathothas)"
license:
- "GPLv3 or LGPLv3"
src_url:
- "https://github.com/probonopd/linuxdeployqt"
tag:
- "Development/C"
x_exec:
shell: "bash"
pkgver: |
curl -qfsSL "https://api.gh.pkgforge.dev/repos/probonopd/linuxdeployqt/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/probonopd/linuxdeployqt@${RELEASE_TAG}" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${SBUILD_PKG}" --yes
;;
esac