upgpkg: cloud-hypervisor 18.0-1

New upstream release.
This commit is contained in:
George Rawlinson 2021-09-09 17:48:11 +00:00
parent 9be974bb73
commit 3deed6c019
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -1,27 +1,27 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=cloud-hypervisor
pkgver=17.0
pkgver=18.0
pkgrel=1
pkgdesc="A Virtual Machine Monitor for modern cloud workloads"
url="https://github.com/cloud-hypervisor/cloud-hypervisor"
arch=('x86_64')
license=('Apache')
makedepends=('cargo')
makedepends=('rust')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('6ed3dfffd888d8380d2469e085f0974d93f020df8679e06c530bd7a56c5b262785ea7d33e7c62218353f0f2544222ae0b10bfe1f940250d44bd714eab0fde481')
b2sums=('47f0ad286c9decf0e496d155f91ae9c44fa364a4ac93e9789e7f397e994e45aee102a5ee1100dcd33c24d3e41c86137d48c08902d103b4a53e7f0f27693a03f9')
prepare() {
cd "$pkgname-$pkgver"
# fetch all dependencies
cargo fetch --locked
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
cd "$pkgname-$pkgver"
# FTBFS: --all-features due to hypervisor not compiling
#RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target
cargo build --release --offline
# cargo build --release --locked --all-features --target-dir=target
cargo build --release --frozen
}
package() {