[arch-commits] Commit in starship/repos/community-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Mar 29 14:26:08 UTC 2021


    Date: Monday, March 29, 2021 @ 14:26:08
  Author: alucryd
Revision: 909240

archrelease: copy trunk to community-x86_64

Added:
  starship/repos/community-x86_64/PKGBUILD
    (from rev 909239, starship/trunk/PKGBUILD)
Deleted:
  starship/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  134 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 69 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-29 14:26:03 UTC (rev 909239)
+++ PKGBUILD	2021-03-29 14:26:08 UTC (rev 909240)
@@ -1,65 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Kevin Song <kevin.s05 at gmail.com>
-
-pkgname=starship
-pkgdesc='The cross-shell prompt for astronauts'
-pkgver=0.51.0
-pkgrel=1
-arch=(x86_64)
-url=https://starship.rs/
-license=(ISC)
-depends=(
-  gcc-libs
-  glibc
-  libgit2.so
-  openssl
-)
-optdepends=(
-  'noto-fonts-emoji: emoji support for terminals'
-  'powerline-fonts: powerline symbols for terminals'
-)
-makedepends=(
-  git
-  rust
-)
-checkdepends=(python)
-_tag=88c3844db35655d76c6271112b3674cda481222d
-source=(git+https://github.com/starship/starship.git#tag=${_tag})
-b2sums=(SKIP)
-
-prepare() {
-  cargo fetch \
-    --locked \
-    --manifest-path starship/Cargo.toml
-}
-
-pkgver() {
-  cd starship
-  git describe --tags | sed 's/^v//'
-}
-
-build() {
-  cargo build \
-    --release \
-    --frozen \
-    --manifest-path starship/Cargo.toml
-}
-
-check() {
-  cargo test \
-    --release \
-    --frozen \
-    --manifest-path starship/Cargo.toml
-}
-
-package() {
-  cargo install \
-    --frozen \
-    --offline \
-    --no-track \
-    --path starship \
-    --root "${pkgdir}"/usr
-    install -Dm 644 starship/LICENSE -t "${pkgdir}"/usr/share/licenses/starship/
-}
-
-# vim: ts=2 sw=2 et:

Copied: starship/repos/community-x86_64/PKGBUILD (from rev 909239, starship/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-29 14:26:08 UTC (rev 909240)
@@ -0,0 +1,69 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Kevin Song <kevin.s05 at gmail.com>
+
+pkgname=starship
+pkgdesc='The cross-shell prompt for astronauts'
+pkgver=0.51.0
+pkgrel=2
+arch=(x86_64)
+url=https://starship.rs/
+license=(ISC)
+depends=(
+  gcc-libs
+  glibc
+  libgit2.so
+  openssl
+)
+optdepends=(
+  'noto-fonts-emoji: emoji support for terminals'
+  'powerline-fonts: powerline symbols for terminals'
+)
+makedepends=(
+  git
+  rust
+)
+checkdepends=(python)
+_tag=88c3844db35655d76c6271112b3674cda481222d
+source=(git+https://github.com/starship/starship.git#tag=${_tag})
+b2sums=(SKIP)
+
+prepare() {
+  cargo fetch \
+    --locked \
+    --manifest-path starship/Cargo.toml
+}
+
+pkgver() {
+  cd starship
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cargo build \
+    --release \
+    --frozen \
+    --manifest-path starship/Cargo.toml
+}
+
+check() {
+  cargo test \
+    --release \
+    --frozen \
+    --manifest-path starship/Cargo.toml
+}
+
+package() {
+  cargo install \
+    --frozen \
+    --offline \
+    --no-track \
+    --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