void-packages/srcpkgs/starship/template
2020-02-23 22:54:29 +01:00

23 lines
615 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
pre_build() {
vsed -i '/reqwest =/s/, "rustls-tls"//' Cargo.toml
cargo update
}
post_install() {
vlicense LICENSE
}