Date: Thursday, May 6, 2021 @ 06:48:41 Author: alucryd Revision: 928364
archrelease: copy trunk to community-x86_64 Added: starship/repos/community-x86_64/PKGBUILD (from rev 928363, starship/trunk/PKGBUILD) Deleted: starship/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 138 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 69 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-06 06:48:35 UTC (rev 928363) +++ PKGBUILD 2021-05-06 06:48:41 UTC (rev 928364) @@ -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.52.1 -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=0860baa8a00a0cc1967dedb6ed6b16c07ed03c41 -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 928363, starship/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-06 06:48:41 UTC (rev 928364) @@ -0,0 +1,69 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Kevin Song <kevin....@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: