[arch-commits] Commit in qemu/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Mon Jan 30 01:00:23 UTC 2012
Date: Sunday, January 29, 2012 @ 20:00:23
Author: eric
Revision: 148017
upgpkg: qemu 1.0-3
Rebuild against libpng 1.5 and libtiff 4.0
Modified:
qemu/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-29 22:46:07 UTC (rev 148016)
+++ PKGBUILD 2012-01-30 01:00:23 UTC (rev 148017)
@@ -2,7 +2,7 @@
# Maintainer: Tobias Powalowski <tpowa at 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 @@
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 @@
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 @@
}
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";;
More information about the arch-commits
mailing list