mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
starship: update to 0.48.0.
This commit is contained in:
parent
75350fc5eb
commit
2bf6537aff
1 changed files with 9 additions and 6 deletions
|
@ -1,18 +1,18 @@
|
||||||
# Template file for 'starship'
|
# Template file for 'starship'
|
||||||
pkgname=starship
|
pkgname=starship
|
||||||
version=0.46.2
|
version=0.48.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libgit2-devel"
|
makedepends="libgit2-devel"
|
||||||
checkdepends="git"
|
checkdepends="git fish-shell"
|
||||||
short_desc="Minimal, fast and customizable cross-shell prompt"
|
short_desc="Minimal, fast and customizable cross-shell prompt"
|
||||||
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="https://starship.rs"
|
homepage="https://starship.rs"
|
||||||
distfiles="https://github.com/starship/starship/archive/v${version}.tar.gz"
|
distfiles="https://github.com/starship/starship/archive/v${version}.tar.gz"
|
||||||
checksum=39301c8118239eda7b6d8dbcae498f28bfd901932e69003c249d99ee7989c1bb
|
checksum=23e729ace48ec0bf6d8eff5f99003351463841f3b28fe453faceb62e6f99bae6
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
STARSHIP="target/${RUST_TARGET}/release/starship"
|
STARSHIP="target/${RUST_TARGET}/release/starship"
|
||||||
|
@ -21,9 +21,12 @@ post_build() {
|
||||||
vtargetrun ${STARSHIP} completions fish >starship.fish
|
vtargetrun ${STARSHIP} completions fish >starship.fish
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_check() {
|
do_check() {
|
||||||
[ -L target/debug ] && unlink target/debug
|
mkdir -p fake-home
|
||||||
ln -s release target/debug
|
local OLDHOME=$HOME
|
||||||
|
export HOME=$(pwd)/fake-home
|
||||||
|
cargo test -q --release --target ${RUST_TARGET}
|
||||||
|
export HOME=$OLDHOME
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue