[arch-commits] Commit in qemu-kvm/trunk (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Tue May 17 12:44:56 UTC 2011
Date: Tuesday, May 17, 2011 @ 08:44:55
Author: tpowa
Revision: 124173
upgpkg: qemu-kvm 0.14.0-2
fix stripping, added hda sound
Modified:
qemu-kvm/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-17 11:45:16 UTC (rev 124172)
+++ PKGBUILD 2011-05-17 12:44:55 UTC (rev 124173)
@@ -2,7 +2,7 @@
# Maintainer: Tobias Powalowski <tpowa at 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 @@
replaces=('kvm')
source=(http://downloads.sourceforge.net/kvm/${pkgname}-${pkgver}.tar.gz
65-kvm.rules)
+options=(!strip)
build()
{
@@ -24,7 +25,7 @@
./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 @@
# 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')
More information about the arch-commits
mailing list