[arch-commits] Commit in kvm/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Sun Apr 12 10:31:54 EDT 2009


    Date: Sunday, April 12, 2009 @ 10:31:54
  Author: tpowa
Revision: 35343

upgpkg: kvm 84-2

Modified:
  kvm/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-12 14:22:18 UTC (rev 35342)
+++ PKGBUILD	2009-04-12 14:31:54 UTC (rev 35343)
@@ -2,7 +2,7 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 pkgname=kvm
 pkgver=84
-pkgrel=1
+pkgrel=2
 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')
@@ -24,11 +24,12 @@
         cd ${srcdir}/kvm-${pkgver}/${dir}
         make || return 1
     done
-    # install kvm-qemu
+    # install qemu-kvm
     install -D -m 755 ${srcdir}/${pkgname}-${pkgver}/qemu/x86_64-softmmu/qemu-system-x86_64 \
         ${pkgdir}/usr/bin/qemu-kvm
-    install -D -m644 ${srcdir}/${pkgname}-${pkgver}/scripts/65-kvm.rules \
-        ${pkgdir}/etc/udev/rules.d/65-kvm.rules || return 1
+    # install qemu-img and qemu-nbd
+    install -D -m 755 ${srcdir}/${pkgname}-${pkgver}/qemu/{qemu-nbd,qemu-img} \
+        ${pkgdir}/usr/bin/
     # install kvm bios files
     install -D -m644 ${srcdir}/${pkgname}-${pkgver}/qemu/pc-bios/bios.bin \
         ${pkgdir}/usr/share/qemu/bios.bin
@@ -38,6 +39,10 @@
         ${pkgdir}/usr/share/qemu/vgabios-cirrus.bin
     install -D -m644 ${srcdir}/${pkgname}-${pkgver}/extboot/extboot.bin \
          ${pkgdir}/usr/share/qemu/extboot.bin
+    # install keymap files
+    for i in ${srcdir}/${pkgname}-${pkgver}/qemu/keymaps/*; do
+        install -D -m644 $i ${pkgdir}/usr/share/qemu/keymaps/$(basename $i)
+    done
     # install udev rules
     install -D -m644 ${srcdir}/70-kqemu.rules \
                      ${pkgdir}/lib/udev/rules.d/70-kqemu.rules



More information about the arch-commits mailing list