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

Maxime Gauduin alucryd at archlinux.org
Thu May 6 12:28:34 UTC 2021


    Date: Thursday, May 6, 2021 @ 12:28:33
  Author: alucryd
Revision: 928448

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  141 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 72 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-06 12:28:28 UTC (rev 928447)
+++ PKGBUILD	2021-05-06 12:28:33 UTC (rev 928448)
@@ -1,69 +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.53.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=7459571a94268af298c53704476ceecd814efa6b
-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:

Copied: starship/repos/community-x86_64/PKGBUILD (from rev 928447, starship/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-06 12:28:33 UTC (rev 928448)
@@ -0,0 +1,72 @@
+# 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.53.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=7459571a94268af298c53704476ceecd814efa6b
+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 \
+    --features notify-rust \
+    --manifest-path starship/Cargo.toml
+}
+
+check() {
+  cargo test \
+    --release \
+    --frozen \
+    --features notify-rust \
+    --manifest-path starship/Cargo.toml
+}
+
+package() {
+  cargo install \
+    --frozen \
+    --features notify-rust \
+    --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