Date: Tuesday, April 11, 2023 @ 07:43:25 Author: alerque Revision: 1444641
upgpkg: starship 1.14.1-1 Modified: starship/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-11 07:43:25 UTC (rev 1444640) +++ PKGBUILD 2023-04-11 07:43:25 UTC (rev 1444641) @@ -4,11 +4,12 @@ pkgname=starship pkgdesc='The cross-shell prompt for astronauts' -_tag=fdd3d150545700e15d221bfd97b1d80fb34e9b50 -pkgver=1.13.1 +pkgver=1.14.1 +_tag=145ce9605732d575bc9c0547f76d56e560043de0 pkgrel=1 arch=(x86_64) url=https://starship.rs/ +_url="https://github.com/$pkgname/$pkgname" license=(ISC) depends=( gcc-libs @@ -21,7 +22,7 @@ ) checkdepends=(python) optdepends=('ttf-font-nerd: Nerd Font Symbols preset') -source=(git+https://github.com/starship/starship.git#tag=${_tag}) +source=("git+$_url.git#tag=$_tag") b2sums=('SKIP') prepare() { @@ -36,6 +37,10 @@ git describe --tags | sed 's/^v//' } +_pkgver() { + curl -fs https://api.github.com/repos/$pkgname/$pkgname/git/ref/tags/v$pkgver | jq -r .object.sha +} + build() { export CARGO_TARGET_DIR=target CFLAGS+=" -ffat-lto-objects"
