# Maintainer: Hunter Wittenborn pkgname=starship pkgver=1.21.1 pkgrel=1 pkgdesc='The minimal, blazing-fast, and infinitely customizable prompt for any shell!' arch=('any') makedepends=('cargo' 'cmake') url='https://starship.rs' source=("${pkgname}-${pkgver}::git+https://github.com/starship/starship/#tag=v${pkgver}") sha256sums=('SKIP') build() { cd "${pkgname}-${pkgver}/" cargo build --release --all-features } package() { cd "${pkgname}-${pkgver}/" install -Dm 755 target/release/starship "${pkgdir}/usr/bin/starship" target/release/starship completions bash | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/starship" } # vim: set sw=4 expandtab: