New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update according to comment on AUR Web #1
Conversation
OK, I finally got back to this (funny how time flies).
|
Thanks for the feedback (again), and sorry for my delay. Just pushed a small update, if you'd like to verify that the package is OK now. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the Rust package guidelines. --all-features
had to be removed from the cargo invocations because the conduit repo contains broken code gated by some non-default features (heed
and sled
at time of writing).
prepare() { | ||
cd "$_pkgname" | ||
patch --forward --strip=1 --input="${srcdir}/0001-update-service-dynamicuser_paths.patch" | ||
patch --forward --strip=1 --input="${srcdir}/0002-example-info.patch" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
PKGBUILD
Outdated
@@ -28,18 +40,13 @@ pkgver() { | |||
|
|||
build(){ | |||
cd "$_pkgname" | |||
env CARGO_INCREMENTAL=1 cargo build --release --locked | |||
env CARGO_INCREMENTAL=0 cargo build --release --locked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
env CARGO_INCREMENTAL=0 cargo build --release --locked | |
export RUSTUP_TOOLCHAIN=stable | |
export CARGO_TARGET_DIR=target | |
cargo build --frozen --release |
@@ -28,18 +40,13 @@ pkgver() { | |||
|
|||
build(){ | |||
cd "$_pkgname" | |||
env CARGO_INCREMENTAL=1 cargo build --release --locked | |||
env CARGO_INCREMENTAL=0 cargo build --release --locked | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check() {
cd "$_pkgname"
export RUSTUP_TOOLCHAIN=stable
cargo test --frozen
}
No description provided.