* update starship to 1.20.1-1

This commit is contained in:
Alexander Baldeck 2024-10-09 08:39:50 +02:00
parent 15a59bfa1f
commit 60b22cdd93
2 changed files with 12 additions and 7 deletions

View File

@ -1,9 +1,13 @@
pkgbase = starship
pkgdesc = The cross-shell prompt for astronauts
pkgver = 1.18.2
pkgrel = 2
pkgver = 1.20.1
pkgrel = 1
url = https://starship.rs/
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = ISC
checkdepends = python
makedepends = cmake
@ -12,7 +16,7 @@ pkgbase = starship
depends = gcc-libs
depends = glibc
optdepends = ttf-font-nerd: Nerd Font Symbols preset
source = git+https://github.com/starship/starship.git#tag=v1.18.2
sha256sums = a4a5de7156acf11679d750f7d7e371bee61c21bffd7e7d7cf8fc915baf650db6
source = git+https://github.com/starship/starship.git#tag=v1.20.1
sha256sums = 173684971c23509f3984ff5fcfe5132c407f239585bf967adb8a238bc084896b
pkgname = starship

View File

@ -5,7 +5,7 @@
pkgname=starship
pkgdesc='The cross-shell prompt for astronauts'
pkgver=1.19.0
pkgver=1.20.1
pkgrel=1
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url=https://starship.rs/
@ -24,7 +24,7 @@ checkdepends=(python)
optdepends=('ttf-font-nerd: Nerd Font Symbols preset')
options=(!debug)
source=("git+$_url.git#tag=v$pkgver")
sha256sums=('43058117252e8794dcb46bb705a06b94894d3fba3757271ea73063434337a566')
sha256sums=('173684971c23509f3984ff5fcfe5132c407f239585bf967adb8a238bc084896b')
prepare() {
cargo fetch \
@ -51,8 +51,9 @@ check() {
package() {
install -Dm 755 target/release/starship -t "${pkgdir}"/usr/bin/
install -Dm 644 starship/LICENSE -t "${pkgdir}"/usr/share/licenses/starship/
install -dm 755 "${pkgdir}"/usr/share/{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}/
install -dm 755 "${pkgdir}"/usr/share/{bash-completion/completions,elvish/lib,fish/vendor_completions.d,zsh/site-functions}/
./target/release/starship completions bash > "${pkgdir}"/usr/share/bash-completion/completions/starship
./target/release/starship completions elvish > "${pkgdir}"/usr/share/elvish/lib/starship.elv
./target/release/starship completions fish > "${pkgdir}"/usr/share/fish/vendor_completions.d/starship.fish
./target/release/starship completions zsh > "${pkgdir}"/usr/share/zsh/site-functions/_starship
}