void-packages/srcpkgs/starship/template
2020-02-12 17:43:56 +01:00

27 lines
688 B
Bash

# Template file for 'starship'
pkgname=starship
version=0.35.1
revision=2
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=22b4bf8bfe45d492d69433942e02731b141091f11b03860cb02d21f4f2431285
case "$XBPS_TARGET_MACHINE" in
ppc-musl) broken="rustc sigsegv";;
esac
pre_build() {
vsed -i '/reqwest =/s/, "rustls-tls"//' Cargo.toml
cargo update
}
post_install() {
vlicense LICENSE
}