starship: update to 0.50.0
Make libressl-devel dependency explicit - the final binary is linked against it; libgit2 isn't being used for the final binary because libgit2-sys now requires libgit2>=1.1.0, but we leave it in for when it's updated and starship gets rebuilt. libgit2-devel is also required on host now - it isn't picked up either. Building the vendored libgit2 requires zlib-devel, which libgit2-devel depends on, so the dependency is fullfilled indirectly. When the libgit2 package is updated, the build should pick it up. Closes: #28310 [via git-merge-pr]
This commit is contained in:
parent
c03d7b477e
commit
b63e44af0d
1 changed files with 5 additions and 8 deletions
|
@ -1,18 +1,18 @@
|
||||||
# Template file for 'starship'
|
# Template file for 'starship'
|
||||||
pkgname=starship
|
pkgname=starship
|
||||||
version=0.48.0
|
version=0.50.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config libgit2-devel"
|
||||||
makedepends="libgit2-devel"
|
makedepends="libressl-devel libgit2-devel"
|
||||||
checkdepends="git fish-shell"
|
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=23e729ace48ec0bf6d8eff5f99003351463841f3b28fe453faceb62e6f99bae6
|
checksum=d8f4dc9bd266f2a5c34926d361c62fdddb61cd7da4acadba5f9c175eb07602e5
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
STARSHIP="target/${RUST_TARGET}/release/starship"
|
STARSHIP="target/${RUST_TARGET}/release/starship"
|
||||||
|
@ -23,10 +23,7 @@ post_build() {
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
mkdir -p fake-home
|
mkdir -p fake-home
|
||||||
local OLDHOME=$HOME
|
HOME="${wrksrc}/fake-home" cargo test --release --target ${RUST_TARGET}
|
||||||
export HOME=$(pwd)/fake-home
|
|
||||||
cargo test -q --release --target ${RUST_TARGET}
|
|
||||||
export HOME=$OLDHOME
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in a new issue