#!/SBUILD _disabled: false pkg: "vcmi" pkg_id: "pkgforge-dev.vcmi" pkg_type: "appimage" ghcr_pkg: "pkgforge-dev/vcmi" category: - "Game" - "StrategyGame" description: "Open-source engine for Heroes of Might and Magic III" homepage: - "https://vcmi.eu" - "https://github.com/pkgforge-dev/vcmi-AppImage" maintainer: - "Samueru-sama (github.com/Samueru-sama)" license: - "GPL-2.0" build_asset: - url: "https://raw.githubusercontent.com/vcmi/vcmi/refs/heads/develop/license.txt" out: "LICENSE" note: - "Fetched from Pre Built Community Created AppImage. Check/Report @ https://github.com/pkgforge-dev/vcmi-AppImage" - "[PORTABLE] (Works on AnyLinux)" provides: - "vcmi" repology: - "vcmi" src_url: - "https://github.com/pkgforge-dev/vcmi-AppImage" tag: - "game" - "strategy" x_exec: host: - "x86_64-linux" shell: "sh" pkgver: | VERSION=$(curl -qfsSL "https://api.github.com/repos/pkgforge-dev/vcmi-AppImage/releases/latest?per_page=20" | jq -r '.tag_name') echo "${VERSION%%@*}" echo "$VERSION" run: | soar dl "https://github.com/pkgforge-dev/vcmi-AppImage@${REMOTE_PKGVER}" --glob "*${ARCH}*.appimage" -o "./${PKG}" --yes