[arch-commits] Commit in starship/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon Mar 29 14:26:04 UTC 2021
Date: Monday, March 29, 2021 @ 14:26:03
Author: alucryd
Revision: 909239
starship 0.51.0-2: FS#69880 add shell completions
Modified:
starship/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-29 14:24:07 UTC (rev 909238)
+++ PKGBUILD 2021-03-29 14:26:03 UTC (rev 909239)
@@ -4,7 +4,7 @@
pkgname=starship
pkgdesc='The cross-shell prompt for astronauts'
pkgver=0.51.0
-pkgrel=1
+pkgrel=2
arch=(x86_64)
url=https://starship.rs/
license=(ISC)
@@ -60,6 +60,10 @@
--path starship \
--root "${pkgdir}"/usr
install -Dm 644 starship/LICENSE -t "${pkgdir}"/usr/share/licenses/starship/
+ install -dm 755 "${pkgdir}"/usr/share/{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}/
+ ./starship/target/release/starship completions bash > "${pkgdir}"/usr/share/bash-completion/completions/starship
+ ./starship/target/release/starship completions fish > "${pkgdir}"/usr/share/fish/vendor_completions.d/starship.fish
+ ./starship/target/release/starship completions zsh > "${pkgdir}"/usr/share/zsh/site-functions/_starship
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list