summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Wagie2024-07-25 12:01:14 -0600
committerMark Wagie2024-07-25 12:01:14 -0600
commit6cac91f570737d4335971532808a76e2b6ca0165 (patch)
treea3d7e40a7de310383bf88dd3479178af5edc9758 /PKGBUILD
parent6c95fd0c9ca6c2c3e37f8f36fa810ba63cdee655 (diff)
downloadaur-6cac91f570737d4335971532808a76e2b6ca0165.tar.gz
don't use local cargo cache
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ac05f873d896..a60bfc1e47b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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