summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/qemu-static/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/libre/qemu-static/PKGBUILD b/libre/qemu-static/PKGBUILD
index b26336f96..6729a7906 100644
--- a/libre/qemu-static/PKGBUILD
+++ b/libre/qemu-static/PKGBUILD
@@ -3,9 +3,9 @@
pkgbase=qemu
pkgname=('qemu-static'
- 'qemu-static-arch-extra')
+ 'qemu-arch-extra-static')
pkgver=2.5.1
-pkgrel=1.4
+pkgrel=1.5
arch=('i686' 'x86_64' 'armv7h')
license=('GPL2' 'LGPL2.1')
url='http://wiki.qemu.org/'
@@ -79,15 +79,17 @@ package_qemu-static() {
rm -v usr/bin/{ivshmem-{client,server},qemu-static-{img,io,nbd}}
}
-package_qemu-static-arch-extra() {
+package_qemu-arch-extra-static() {
pkgdesc='QEMU with full support for non native architectures (static binaries only)'
+ replaces=('qemu-static-arch-extra')
+ conflicts=('qemu-static-arch-extra')
options=(!strip)
cd qemu-${pkgver}
install -dm755 "${pkgdir}"/usr/bin
for _arch in "${_extra_arches[@]}"; do
install -m755 ${_arch}-*/qemu-${_arch} "${pkgdir}"/usr/bin
- mv -v "${pkgdir}"/usr/bin/qemu{,-static}-${_arch}
+ mv -v "${pkgdir}"/usr/bin/qemu-${_arch}{,-static}
done
# manually stripping