From c7be862e40f1194959890969c5e29e145e176d1c Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sat, 7 May 2016 03:38:11 -0300 Subject: qemu-static: add qemu-static.conf file for binfmt support, with some architectures obtained from qemu source code (git master) --- libre/qemu-static/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libre/qemu-static/PKGBUILD') diff --git a/libre/qemu-static/PKGBUILD b/libre/qemu-static/PKGBUILD index c787fff70..6974af4fa 100644 --- a/libre/qemu-static/PKGBUILD +++ b/libre/qemu-static/PKGBUILD @@ -5,13 +5,15 @@ pkgbase=qemu pkgname=('qemu-static' 'qemu-arch-extra-static') pkgver=2.5.1 -pkgrel=1.6 +pkgrel=1.7 arch=('i686' 'x86_64' 'armv7h') license=('GPL2' 'LGPL2.1') url='http://wiki.qemu.org/' makedepends=('pixman-static' 'glib2-static' 'pcre-static' 'python2') -source=(http://wiki.qemu.org/download/${pkgbase}-${pkgver}.tar.bz2) -md5sums=('42e73182dea8b9213fa7050e168a4615') +source=(http://wiki.qemu.org/download/${pkgbase}-${pkgver}.tar.bz2 + qemu-static.conf) +md5sums=('42e73182dea8b9213fa7050e168a4615' + '13360e9ad5d731784dc3ac411035b50c') _extra_arches=(aarch64 alpha arm armeb cris m68k microblaze microblazeel or32 ppc ppc64 ppc64abi32 ppc64le s390x tilegx @@ -91,11 +93,12 @@ package_qemu-arch-extra-static() { options=(!strip) cd qemu-${pkgver} - install -dm755 "${pkgdir}"/usr/bin + install -dm755 "${pkgdir}"/{usr/bin,etc/binfmt.d} for _arch in "${_extra_arches[@]}"; do install -m755 ${_arch}-*/qemu-${_arch} "${pkgdir}"/usr/bin mv -v "${pkgdir}"/usr/bin/qemu-${_arch}{,-static} done + install -m755 "${srcdir}"/qemu-static.conf # manually stripping find "${pkgdir}"/usr/bin -type f -exec strip {} \; -- cgit v1.2.3-54-g00ecf