Skip to content
Snippets Groups Projects
Commit 3ae12b69 authored by Duncan Bellamy's avatar Duncan Bellamy :speech_balloon: Committed by Leo
Browse files

testing/asuran-cli: remove cargo files in /usr

* enable building on ppc64le
parent 7bf805a5
No related branches found
No related tags found
1 merge request!13943testing/asuran-cli: remove cargo files in /usr
......@@ -2,10 +2,10 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=asuran-cli
pkgver=0.1.6
pkgrel=0
pkgrel=1
pkgdesc="Asuran is a new archive format and rust implementation"
url="https://gitlab.com/asuran-rs/asuran"
arch="all !s390x !mips !mips64 !ppc64le" #ppc64le takes too long to build
arch="all !s390x !mips !mips64"
license="BSD-2-Clause-Patent"
makedepends="cargo openssl-dev"
source="https://gitlab.com/asuran-rs/asuran/-/archive/v$pkgver/asuran-v$pkgver.tar.gz"
......@@ -23,15 +23,18 @@ build() {
export RUSTFLAGS=$_rf
cd asuran-cli
cargo build --release --locked --verbose $_f
cargo build --release --locked $_f
}
check() {
cargo test all --release --locked --verbose
cargo test all --release --locked
}
package() {
install -Dm0755 target/release/asuran-cli "$pkgdir"/usr/bin/asuran-cli
cd asuran-cli
cargo install --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates.toml
rm "$pkgdir"/usr/.crates2.json
}
sha512sums="2345b9ad0daedc4b21707bcdae72f7678f8e8d7adb470f78088ceb88f8ca18d1661bc5126d6199d5e904b528c7b5b50e9f8c3d770b28b72fcad64c17e9b87add asuran-v0.1.6.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment