#!/SBUILD _disabled: false pkg: "navi" pkg_id: "denisidoro.navi" pkg_type: "static" ghcr_pkg: "denisidoro/navi" category: - "ConsoleOnly" - "Utility" description: "Interactive cheatsheet tool for the command-line" homepage: - "https://github.com/denisidoro/navi" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "Apache-2.0" build_asset: - url: "https://raw.githubusercontent.com/denisidoro/navi/master/LICENSE" out: "LICENSE" - url: "https://github.com/denisidoro/navi/releases/download/v${PKGVER}/navi-v${PKGVER}-${ARCH}-unknown-linux-musl.tar.gz" out: "navi.tar.gz" note: - "Official binary from https://github.com/denisidoro/navi" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "navi" repology: - "navi" src_url: - "https://github.com/denisidoro/navi" tag: - "cheatsheet" - "shell" - "cli" x_exec: host: - "x86_64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/denisidoro/navi/releases/latest" | jq -r '.tag_name' | tr -d 'v' run: | tar -xf "navi.tar.gz" -C "$SBUILD_TMPDIR/" mv "$SBUILD_TMPDIR/navi" "$SBUILD_OUTDIR/$PKG" rm -rf "navi.tar.gz"