diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/qemu/APKBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD index 4b8d929a1d..61206466e1 100644 --- a/main/qemu/APKBUILD +++ b/main/qemu/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=qemu pkgver=2.8.0 -pkgrel=3 +pkgrel=4 pkgdesc="QEMU is a generic machine emulator and virtualizer" url="http://qemu.org/" arch="all" @@ -256,8 +256,11 @@ package() { _subsys() { local name=${1:-"${subpkgname#$pkgname-}"} pkgdesc="Qemu ${name/-/ } emulator" - depends="qemu" options="" + depends="" + case "$name" in + system*) depends="qemu";; + esac mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/qemu-$name "$subpkgdir"/usr/bin/ @@ -265,7 +268,7 @@ _subsys() { img() { pkgdesc="QEMU command line tool for manipulating disk images" - replaces="qemu" + depends="" options="" mkdir -p "$subpkgdir"/usr/bin @@ -288,6 +291,7 @@ img() { guest() { pkgdesc="QEMU guest agent" + depends="" options="" mkdir -p "$subpkgdir"/usr/bin |