aboutsummaryrefslogtreecommitdiffstats
path: root/testing/starship/APKBUILD
blob: 9e6f8ed04c8e25f6e8001e1daff85d2e8365531c (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.18.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="0b4514d22265393fffeee9d91fbf514d77a3827d039501592145e11a31b5e3318c3e4e686816bfbf17a25e8a37a39e183cde7e98c66fb215d7bf5c4ec5d04c97  starship-0.18.0.tar.gz"