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

Jan de Groot jgc at archlinux.org
Mon Jan 11 09:26:59 UTC 2010


    Date: Monday, January 11, 2010 @ 04:26:59
  Author: jgc
Revision: 62692

Makedepend on texi2html and perl to fix documentation building
Remove old crap from install scriptlet

Modified:
  qemu-kvm/trunk/PKGBUILD
  qemu-kvm/trunk/qemu-kvm.install

------------------+
 PKGBUILD         |    5 +++--
 qemu-kvm.install |    6 ------
 2 files changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-11 04:21:00 UTC (rev 62691)
+++ PKGBUILD	2010-01-11 09:26:59 UTC (rev 62692)
@@ -8,18 +8,19 @@
 license=('GPL2' 'LGPL2.1')
 url="http://www.linux-kvm.org"
 depends=('libsasl' 'curl' 'sdl' 'alsa-lib' 'esound' 'gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng')
+makedepends=('texi2html' 'perl')
 install=qemu-kvm.install
 conflicts=('qemu')
 provides=('qemu')
 replaces=('kvm')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+source=(http://downloads.sourceforge.net/kvm/${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
+    ./configure --prefix=/usr --audio-drv-list=alsa,sdl,oss,esd --audio-card-list=ac97,sb16,es1370,adlib --enable-docs || return 1
     make || return 1
     make DESTDIR=${pkgdir} install || return 1
     # symbolic link for backwards compatibility

Modified: qemu-kvm.install
===================================================================
--- qemu-kvm.install	2010-01-11 04:21:00 UTC (rev 62691)
+++ qemu-kvm.install	2010-01-11 09:26:59 UTC (rev 62692)
@@ -1,4 +1,3 @@
-# kvm:  the new package version
 post_install() {
   groupadd kvm -f -g 78
 }
@@ -8,10 +7,5 @@
 }
 
 post_remove() {
-  #
   groupdel kvm
 }
-
-op=$1
-shift
-$op $*




More information about the arch-commits mailing list