diff options
author | Mark Wagie | 2024-07-25 12:01:14 -0600 |
---|---|---|
committer | Mark Wagie | 2024-07-25 12:01:14 -0600 |
commit | 6cac91f570737d4335971532808a76e2b6ca0165 (patch) | |
tree | a3d7e40a7de310383bf88dd3479178af5edc9758 /PKGBUILD | |
parent | 6c95fd0c9ca6c2c3e37f8f36fa810ba63cdee655 (diff) | |
download | aur-6cac91f570737d4335971532808a76e2b6ca0165.tar.gz |
don't use local cargo cache
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2,7 +2,7 @@ # Co-Maintainer: Mark Wagie <mark dot wagie at proton dot me> pkgname=cosmic-applets-git -pkgver=r880.e4a6f94 +pkgver=r1036.478bb3e pkgrel=1 pkgdesc="WIP applets for COSMIC Panel" arch=('x86_64' 'aarch64') @@ -29,12 +29,11 @@ sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" } prepare() { cd "${pkgname%-git}" - export CARGO_HOME="$srcdir/cargo-home" export RUSTUP_TOOLCHAIN=stable just vendor } @@ -42,7 +41,6 @@ prepare() { build() { cd "${pkgname%-git}" CFLAGS+=" -ffat-lto-objects" - export CARGO_HOME="$srcdir/cargo-home" export RUSTUP_TOOLCHAIN=stable # use mold instead of lld to speed up build |