[arch-commits] Commit in starship/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Fri Dec 24 18:08:14 UTC 2021
Date: Friday, December 24, 2021 @ 18:08:14
Author: alerque
Revision: 1083438
archrelease: copy trunk to community-x86_64
Added:
starship/repos/community-x86_64/PKGBUILD
(from rev 1083437, starship/trunk/PKGBUILD)
Deleted:
starship/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-24 18:07:35 UTC (rev 1083437)
+++ PKGBUILD 2021-12-24 18:08:14 UTC (rev 1083438)
@@ -1,65 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Kevin Song <kevin.s05 at gmail.com>
-
-pkgname=starship
-pkgdesc='The cross-shell prompt for astronauts'
-pkgver=1.1.0
-pkgrel=1
-arch=(x86_64)
-url=https://starship.rs/
-license=(ISC)
-depends=(
- gcc-libs
- glibc
- libgit2.so
- openssl
- ttf-font-nerd
-)
-makedepends=(
- git
- rust
-)
-checkdepends=(python)
-_tag=af049d5bc9d479c0f2e9dd497b74be7a2d4ebcf9
-source=(git+https://github.com/starship/starship.git#tag=${_tag})
-b2sums=('SKIP')
-
-prepare() {
- cargo fetch \
- --locked \
- --target $CARCH-unknown-linux-gnu \
- --manifest-path starship/Cargo.toml
-}
-
-pkgver() {
- cd starship
- git describe --tags | sed 's/^v//'
-}
-
-build() {
- export CARGO_TARGET_DIR=target
- cargo build \
- --release \
- --frozen \
- --features notify-rust \
- --manifest-path starship/Cargo.toml
-}
-
-check() {
- cargo test \
- --frozen \
- --features notify-rust \
- --manifest-path starship/Cargo.toml
-}
-
-package() {
- install -Dm 755 target/release/starship -t "${pkgdir}"/usr/bin/
- 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}/
- ./target/release/starship completions bash > "${pkgdir}"/usr/share/bash-completion/completions/starship
- ./target/release/starship completions fish > "${pkgdir}"/usr/share/fish/vendor_completions.d/starship.fish
- ./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 1083437, starship/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-24 18:08:14 UTC (rev 1083438)
@@ -0,0 +1,65 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Kevin Song <kevin.s05 at gmail.com>
+
+pkgname=starship
+pkgdesc='The cross-shell prompt for astronauts'
+pkgver=1.1.1
+pkgrel=1
+arch=(x86_64)
+url=https://starship.rs/
+license=(ISC)
+depends=(
+ gcc-libs
+ glibc
+ libgit2.so
+ openssl
+ ttf-font-nerd
+)
+makedepends=(
+ git
+ rust
+)
+checkdepends=(python)
+_tag=9a4b2bb536761e5aa9e0d5972e3052cc6d30c6d9
+source=(git+https://github.com/starship/starship.git#tag=${_tag})
+b2sums=('SKIP')
+
+prepare() {
+ cargo fetch \
+ --locked \
+ --target $CARCH-unknown-linux-gnu \
+ --manifest-path starship/Cargo.toml
+}
+
+pkgver() {
+ cd starship
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ export CARGO_TARGET_DIR=target
+ cargo build \
+ --release \
+ --frozen \
+ --features notify-rust \
+ --manifest-path starship/Cargo.toml
+}
+
+check() {
+ cargo test \
+ --frozen \
+ --features notify-rust \
+ --manifest-path starship/Cargo.toml
+}
+
+package() {
+ install -Dm 755 target/release/starship -t "${pkgdir}"/usr/bin/
+ 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}/
+ ./target/release/starship completions bash > "${pkgdir}"/usr/share/bash-completion/completions/starship
+ ./target/release/starship completions fish > "${pkgdir}"/usr/share/fish/vendor_completions.d/starship.fish
+ ./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