blob: 0198c05bcdf94e6785e462054dd0d8560480c5fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=starship
pkgver=0.25.1
pkgrel=0
pkgdesc="Cross-shell prompt for astronauts"
options="!check" # All tests hardcode $HOME
url="https://starship.rs/"
arch="all !s390x"
license="ISC"
depends="font-noto-emoji"
makedepends="cargo zlib-dev libgit2-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/starship/starship/archive/v$pkgver.tar.gz"
export LIBGIT2_SYS_USE_PKG_CONFIG=1 # Use system libgit2
build() {
cargo build --release
}
package() {
install -Dm0755 target/release/starship "$pkgdir"/usr/bin/starship
}
sha512sums="0dc1920f5372da11769bc758000fd1a803a2905325ab91c0ceaac39241d152d754af894fdf154d98d924eb3b0113d90ce27ee014367e7e0f51c4dae131b48851 starship-0.25.1.tar.gz"
|