aboutsummaryrefslogtreecommitdiffstats
path: root/testing/starship/APKBUILD
blob: 912e5fd81ce7348967e3dd50d4e0478811b931a9 (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.24.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="c607cb1b38dbdeac8a1260a949897c1473755a4ff3bb8c0c3872c8566738f7a093b978072090e133f9e7e24fe8800633030834fd9c35178d1254743e3ce156c3  starship-0.24.0.tar.gz"