#!/SBUILD _disabled: false pkg: "albafetch" pkg_id: "alba4k.albafetch" pkg_type: "static" ghcr_pkg: "alba4k/albafetch" category: - "ConsoleOnly" - "System" - "Utility" description: "Faster neofetch alternative, written in C" homepage: - "https://github.com/alba4k/albafetch" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "MIT" build_asset: - url: "https://raw.githubusercontent.com/alba4k/albafetch/master/LICENSE" out: "LICENSE" note: - "Official binary from https://github.com/alba4k/albafetch" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "albafetch" repology: - "albafetch" src_url: - "https://github.com/alba4k/albafetch" tag: - "fetch" - "system-info" - "neofetch" x_exec: host: - "x86_64-linux" - "aarch64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/alba4k/albafetch/releases/latest" | jq -r '.tag_name' | tr -d 'v' run: | case "$ARCH" in x86_64) ARCH="x64" ;; aarch64) ARCH="aarch64" ;; esac soar dl "https://github.com/alba4k/albafetch@v${PKGVER}" --glob "albafetch-linux-${ARCH}-static.zip" --yes -o albafetch.zip 7z x "albafetch.zip" -o"$SBUILD_TMPDIR/" mv "$SBUILD_TMPDIR/albafetch" "$SBUILD_OUTDIR/$PKG" rm -rf "albafetch.zip"