diff options
Diffstat (limited to 'extra/qemu/PKGBUILD')
-rw-r--r-- | extra/qemu/PKGBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/extra/qemu/PKGBUILD b/extra/qemu/PKGBUILD index f82f81201..87ae4ea37 100644 --- a/extra/qemu/PKGBUILD +++ b/extra/qemu/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 146673 2012-01-16 08:01:45Z tpowa $ +# $Id: PKGBUILD 148896 2012-02-05 11:54:40Z ibiru $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=qemu pkgver=1.0 -pkgrel=2 +pkgrel=3 pkgdesc="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') @@ -17,7 +17,7 @@ options=(!strip) build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" sed -i -e 's/lib64/lib/g' x86_64.ld ./configure --prefix=/usr --sysconfdir=/etc --audio-drv-list=oss,alsa,sdl,pa \ --python=/usr/bin/python2 \ @@ -26,7 +26,7 @@ build() make # Use latest seabios version # https://bugs.archlinux.org/task/27616 - cd ${srcdir}/ + cd "${srcdir}/" git clone git://git.seabios.org/seabios.git cd seabios find 'tools/' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' @@ -35,16 +35,16 @@ build() } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install # Use latest seabios version # https://bugs.archlinux.org/task/27616 - cp ${srcdir}/seabios/out/bios.bin ${pkgdir}/usr/share/qemu/bios.bin + cp "${srcdir}/seabios/out/bios.bin" "${pkgdir}/usr/share/qemu/bios.bin" - install -D -m644 ${srcdir}/65-kvm.rules \ - ${pkgdir}/lib/udev/rules.d/65-kvm.rules + install -D -m644 "${srcdir}/65-kvm.rules" \ + "${pkgdir}/lib/udev/rules.d/65-kvm.rules" # strip scripts directory - find ${pkgdir}/usr/src/linux-${_kernver}/scripts -type f -perm -u+w 2>/dev/null | while read binary ; do + find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -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";; |