mirror of
https://github.com/haileys/bark
synced 2025-03-16 22:57:00 +00:00
tweak pkgbuild according to the guidelines
This commit is contained in:
parent
b18bf28f36
commit
c829a779f2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue