summaryrefslogtreecommitdiff
path: root/extra/qemu-kvm
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-18 22:46:11 +0000
committerroot <root@rshg047.dnsready.net>2011-05-18 22:46:11 +0000
commit82b609ecce972e236c2ce887ecd55ec30e2874a7 (patch)
tree0f538ac08e2ce61505f47f42534a969f42863767 /extra/qemu-kvm
parent4a67ab8a761f1d0ef59988a513f9f2163f94a869 (diff)
Wed May 18 22:46:11 UTC 2011
Diffstat (limited to 'extra/qemu-kvm')
-rw-r--r--extra/qemu-kvm/PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/extra/qemu-kvm/PKGBUILD b/extra/qemu-kvm/PKGBUILD
index 04e93f2f9..8e1165edc 100644
--- a/extra/qemu-kvm/PKGBUILD
+++ b/extra/qemu-kvm/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 110855 2011-02-22 19:17:39Z tpowa $
+# $Id: PKGBUILD 124173 2011-05-17 12:44:55Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=qemu-kvm
pkgver=0.14.0
-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' 'LGPL2.1')
@@ -16,6 +16,7 @@ provides=('qemu')
replaces=('kvm')
source=(http://downloads.sourceforge.net/kvm/${pkgname}-${pkgver}.tar.gz
65-kvm.rules)
+options=(!strip)
build()
{
@@ -24,7 +25,7 @@ build()
./configure --prefix=/usr \
--sysconfdir=/etc \
--audio-drv-list=alsa,sdl,oss,esd \
- --audio-card-list=ac97,sb16,es1370,adlib \
+ --audio-card-list=ac97,sb16,es1370,hda \
--enable-docs
make
}
@@ -44,6 +45,13 @@ package()
# install udev rules
install -D -m644 ${srcdir}/65-kvm.rules \
${pkgdir}/lib/udev/rules.d/65-kvm.rules
+ # strip scripts directory
+ find ${pkgdir}/usr/bin -type f -perm -u+w 2>/dev/null | while read binary ; do
+ case "$(file -bi "$binary")" in
+ *application/x-executable*) # Binaries
+ /usr/bin/strip $STRIP_BINARIES "$binary";;
+ esac
+ done
}
md5sums=('4ea6f412d85a826e0b0690f5c4c59f13'
'b316a066d2f1bb57d8f5b7ea1d0d1caf')