[arch-commits] Commit in bochs/trunk (PKGBUILD)

Kevin Piché kevin at archlinux.org
Mon Jun 13 00:31:34 UTC 2011


    Date: Sunday, June 12, 2011 @ 20:31:34
  Author: kevin
Revision: 127306

upgpkg: bochs 2.4.6-1
Updated to 2.4.6

Modified:
  bochs/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-12 14:10:24 UTC (rev 127305)
+++ PKGBUILD	2011-06-13 00:31:34 UTC (rev 127306)
@@ -3,7 +3,7 @@
 # Maintainer: Kevin Piche <kevin at archlinux.org>
 
 pkgname=bochs
-pkgver=2.4.5
+pkgver=2.4.6
 pkgrel=1
 pkgdesc="A portable x86 PC emulation software package"
 arch=('i686' 'x86_64')
@@ -11,16 +11,21 @@
 url="http://bochs.sourceforge.net/"
 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
 2.4.5-fetchcode.patch)
-depends=('gcc-libs' 'libxpm')
+depends=('gcc-libs' 'libxrandr')
+# 'libxpm')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  patch -Np0 -i ${srcdir}/2.4.5-fetchcode.patch
+  #patch -Np0 -i ${srcdir}/2.4.5-fetchcode.patch
   ./configure --prefix=/usr --enable-vbe --without-wx --enable-cpu-level=6 \
               --enable-fpu --enable-3dnow 
-  make || return 1
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   make prefix=${pkgdir}/usr install
   install -D -m 644 .bochsrc ${pkgdir}/etc/bochsrc-sample.txt
 }
-sha256sums=('b948622a364c2e7da4221a6a4640ba2efa68422e1411ac377c69d37f46f67616'
+sha256sums=('689dcc5fccfd70c8340a54986f0cb9c2824009ed602718802868333da9ac53b9'
             '3dba808614da7d0fa1a3d6ddaceabf027a873d1f45fb90ec43b8dce876baa8ff')




More information about the arch-commits mailing list