# $Id: PKGBUILD 59450 2009-11-24 00:35:42Z eric $ # Maintainer: Tobias Powalowski pkgname=qemu-kvm pkgver=0.11.0 pkgrel=1 pkgdesc="Latest KVM QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation." arch=(i686 x86_64) license=('GPL2') url="http://www.linux-kvm.org" depends=('libsasl' 'curl' 'sdl' 'alsa-lib' 'esound' 'gnutls>=2.4.1') install=qemu-kvm.install conflicts=('qemu') provides=('qemu') replaces=('kvm') source=(http://downloads.sourceforge.net/project/kvm/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz 65-kvm.rules) build() { cd ${srcdir}/${pkgname}-${pkgver} # fix esound building ./configure --prefix=/usr --audio-drv-list=alsa,sdl,oss,esd --audio-card-list=ac97,sb16,es1370,adlib --disable-bluez make || return 1 make DESTDIR=${pkgdir} install || return 1 # symbolic link for backwards compatibility ln -s qemu-system-x86_64 ${pkgdir}/usr/bin/qemu-kvm # install udev rules install -D -m644 ${srcdir}/65-kvm.rules \ ${pkgdir}/lib/udev/rules.d/65-kvm.rules } md5sums=('440837a062967102a68e634d57eaf719' 'b316a066d2f1bb57d8f5b7ea1d0d1caf')