#!/SBUILD _disabled: false pkg: "starship" pkg_id: "starship.starship" pkg_type: "static" ghcr_pkg: "starship/starship" category: - "ConsoleOnly" - "Shell" description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell" homepage: - "https://github.com/starship/starship" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "ISC" build_asset: - url: "https://raw.githubusercontent.com/starship/starship/master/LICENSE" out: "LICENSE" - url: "https://github.com/starship/starship/releases/download/v${PKGVER}/starship-${ARCH}-unknown-linux-musl.tar.gz" out: "starship.tar.gz" note: - "Official binary from https://github.com/starship/starship" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "starship" repology: - "starship" src_url: - "https://github.com/starship/starship" tag: - "shell" - "prompt" - "cli" - "utility" x_exec: host: - "x86_64-linux" - "aarch64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/starship/starship/releases/latest" | jq -r '.tag_name' | tr -d 'v' run: | tar -xf "starship.tar.gz" -C "$SBUILD_TMPDIR/" mv "$SBUILD_TMPDIR/starship" "$SBUILD_OUTDIR/$PKG" rm -rf "starship.tar.gz"