# Template file for 'starship'
pkgname=starship
version=0.33.1
revision=1
build_style=cargo
build_helper="rust"
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
short_desc="Minimal, fast and customizable cross-shell prompt"
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
license="ISC"
homepage="https://starship.rs"
distfiles="https://github.com/starship/starship/archive/v${version}.tar.gz"
checksum=90e1f2e795cd0e694d7a514faeee19f881c35ec46811298adde692d606837d5d

case "$XBPS_TARGET_MACHINE" in
	ppc*) broken="ftbfs in ring";;
esac

post_install() {
	vlicense LICENSE
}
