aboutsummaryrefslogtreecommitdiffstats
path: root/testing/starship/APKBUILD
blob: 3bfb05551115c6a6d215e59d7b2b0b3f707b5cac (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.19.0
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="1b71e5ed82954d3c73fea9ca544b859e003b9b5f4fbdfdcbb0d3e6db8d3e0049270dedd2e64d8e82a53fbd59c999593e64e5e79238f561348a0a70bcfd2025c8  starship-0.19.0.tar.gz"