Skip to content

Commit

Permalink
tweak pkgbuild according to the guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
haileys committed Dec 29, 2023
1 parent b18bf28 commit c829a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ makedepends=("cargo")
arch=("x86_64")

prepare() {
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}

build() {
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export BARK_PKG_VERSION="$(pkgver)"
cargo build --frozen --release
Expand Down

0 comments on commit c829a77

Please sign in to comment.