# Contributor: Leo # Maintainer: Leo pkgname=starship pkgver=0.25.2 pkgrel=0 pkgdesc="Cross-shell prompt for astronauts" options="!check" # All tests hardcode $HOME url="https://starship.rs/" arch="all !s390x" license="ISC" depends="font-noto-emoji" makedepends="cargo zlib-dev libgit2-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/starship/starship/archive/v$pkgver.tar.gz" export LIBGIT2_SYS_USE_PKG_CONFIG=1 # Use system libgit2 build() { cargo build --release } package() { install -Dm0755 target/release/starship "$pkgdir"/usr/bin/starship } sha512sums="3666dac377030dd5a4034cf9843aced5cba7f4e146d1c83e311fd277191decb04cb79e5f270257a9d1c1f136bd49ff50de2b1e4ebeab2cda4a14a016b7d0663a starship-0.25.2.tar.gz"