Date: Friday, August 27, 2021 @ 08:39:35 Author: alucryd Revision: 1007297
archrelease: copy trunk to community-x86_64 Added: starship/repos/community-x86_64/PKGBUILD (from rev 1007296, starship/trunk/PKGBUILD) Deleted: starship/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 136 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 67 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-27 08:39:30 UTC (rev 1007296) +++ PKGBUILD 2021-08-27 08:39:35 UTC (rev 1007297) @@ -1,69 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Kevin Song <kevin....@gmail.com> - -pkgname=starship -pkgdesc='The cross-shell prompt for astronauts' -pkgver=0.56.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=f64cfa6a98a5e83e5f8bb37aa6e7d547c9b23c9c -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 RUSTUP_TOOLCHAIN=stable - export CARGO_TARGET_DIR=target - cargo build \ - --release \ - --frozen \ - --features notify-rust \ - --manifest-path starship/Cargo.toml -} - -check() { - export RUSTUP_TOOLCHAIN=stable - 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 1007296, starship/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-27 08:39:35 UTC (rev 1007297) @@ -0,0 +1,67 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Kevin Song <kevin....@gmail.com> + +pkgname=starship +pkgdesc='The cross-shell prompt for astronauts' +pkgver=0.57.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=f03c0825c0d9f99789128692324855a7d5baecca +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: