diff options
Diffstat (limited to 'libre/qemu-static/PKGBUILD')
-rw-r--r-- | libre/qemu-static/PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
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 {} \; |