From 35fdf92bdbcfa796fec5d131543725fc45248032 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 6 May 2016 21:32:18 -0300 Subject: qemu-static: add "-static" as suffix for qemu binaries --- libre/qemu-static/PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libre') 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 -- cgit v1.2.3