summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-06 21:32:18 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-06 21:36:28 -0300
commit35fdf92bdbcfa796fec5d131543725fc45248032 (patch)
tree3fa25631b5612033ad02bee8704e3a1f9fe4cf2c
parent2783a19b96772315a398434282882fa5bc3bd9a0 (diff)
downloadabslibre-35fdf92bdbcfa796fec5d131543725fc45248032.tar.gz
abslibre-35fdf92bdbcfa796fec5d131543725fc45248032.tar.bz2
abslibre-35fdf92bdbcfa796fec5d131543725fc45248032.zip
qemu-static: add "-static" as suffix for qemu binaries
-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