diff options
-rw-r--r-- | main/qemu/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD index 32655cfe50..8abff203d6 100644 --- a/main/qemu/APKBUILD +++ b/main/qemu/APKBUILD @@ -83,7 +83,8 @@ case "$CARCH" in _arch=x86_64 subpackages="$subpackages $pkgname-gtk" ;; - *) _arch="";; + *) _arch="" + ;; esac subpackages="$subpackages $pkgname-img" @@ -147,7 +148,7 @@ build() { mkdir -p "$srcdir"/qemu-$pkgver/build "$srcdir"/qem \ "$srcdir"/qemu-$pkgver/build-gtk cd "$srcdir"/qemu-$pkgver/build - + _compile \ --enable-vnc \ --enable-spice \ @@ -186,6 +187,9 @@ package() { "$pkgdir"/lib/udev/rules.d/80-kvm.rules || return 1 paxmark -m "$pkgdir"/usr/bin/qemu-system-* || return 1 + if [ -z "$_arch" ]; then + return 0 + fi cd "$srcdir"/qemu-$pkgver/build-gtk install $_arch-softmmu/qemu-system-$_arch \ "$pkgdir"/usr/bin/qemu-system-$_arch-gtk |