aboutsummaryrefslogtreecommitdiffstats
path: root/testing/starship/APKBUILD
blob: aeb29e9c6feefa9dc13e8c47bf50196f9ddfbf78 (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.21.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="d0abf7d4ab17137c842325f22370c3c28cc6b14fe5e2b177f7bf927b9670f66a663be7968eb86fac22caa0d314cd97a6baef37dd1be7555978c473f069d17605  starship-0.21.0.tar.gz"