summaryrefslogtreecommitdiff
path: root/extra/qemu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qemu/PKGBUILD')
-rw-r--r--extra/qemu/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/qemu/PKGBUILD b/extra/qemu/PKGBUILD
index 458e6c515..b97721f09 100644
--- a/extra/qemu/PKGBUILD
+++ b/extra/qemu/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 194681 2013-09-21 21:20:52Z tpowa $
+# $Id: PKGBUILD 195926 2013-10-05 14:25:32Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=('qemu' 'libcacard')
-pkgver=1.5.3
-pkgrel=1
+pkgver=1.6.0
+pkgrel=4
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1')
url="http://wiki.qemu.org/Index.html"
@@ -20,7 +20,7 @@ build ()
./configure --prefix=/usr --sysconfdir=/etc --audio-drv-list='pa alsa sdl' \
--python=/usr/bin/python2 --smbd=/usr/bin/smbd \
--enable-docs --enable-mixemu --libexecdir=/usr/lib/qemu \
- --disable-gtk --enable-linux-aio --enable-seccomp
+ --disable-gtk --enable-linux-aio --enable-seccomp --localstatedir=/var
make
}
@@ -33,9 +33,12 @@ package_qemu() {
backup=('etc/qemu/target-x86_64.conf')
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" libexecdir="/usr/lib/qemu" install
+ # provided by seabios package
rm "${pkgdir}/usr/share/qemu/bios.bin"
rm "${pkgdir}/usr/share/qemu/acpi-dsdt.aml"
rm "${pkgdir}/usr/share/qemu/q35-acpi-dsdt.aml"
+ # remove conflicting /var/run directory
+ rm -r "${pkgdir}/var"
install -D -m644 "${srcdir}/65-kvm.rules" \
"${pkgdir}/usr/lib/udev/rules.d/65-kvm.rules"
# bridge_helper needs suid
@@ -66,5 +69,5 @@ package_libcacard() {
cp -a ${srcdir}/qemu-${pkgver}/libcacard.pc ${pkgdir}/usr/lib/pkgconfig/
cp -a ${srcdir}/qemu-${pkgver}/.libs/vscclient ${pkgdir}/usr/bin/
}
-md5sums=('7a7ce91bea6a69e55b3c6e20e4999898'
+md5sums=('f3f39308472d629aca57a255a0c91ba9'
'9d6de26867a05c306157e3d3c612b28a')