summaryrefslogtreecommitdiff
path: root/libre/qemu-static/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-05-07 03:38:11 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-05-07 03:38:11 -0300
commitc7be862e40f1194959890969c5e29e145e176d1c (patch)
tree45f921f2d6ef9cd1fcfc5fb605978a30aaaa2286 /libre/qemu-static/PKGBUILD
parent442f9f39272cdbdf91d08099c0898de46572489c (diff)
downloadabslibre-c7be862e40f1194959890969c5e29e145e176d1c.tar.gz
abslibre-c7be862e40f1194959890969c5e29e145e176d1c.tar.bz2
abslibre-c7be862e40f1194959890969c5e29e145e176d1c.zip
qemu-static: add qemu-static.conf file for binfmt support, with some architectures obtained from qemu source code (git master)
Diffstat (limited to 'libre/qemu-static/PKGBUILD')
-rw-r--r--libre/qemu-static/PKGBUILD11
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 {} \;