Date: Saturday, May 16, 2015 @ 14:34:39
  Author: kkeen
Revision: 133576

upgpkg: bochs 2.6.8-1

Modified:
  bochs/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-05-16 10:32:58 UTC (rev 133575)
+++ PKGBUILD    2015-05-16 12:34:39 UTC (rev 133576)
@@ -4,7 +4,7 @@
 # Contributor: Kevin Piche <ke...@archlinux.org>
 
 pkgname=bochs
-pkgver=2.6.7
+pkgver=2.6.8
 pkgrel=1
 pkgdesc="A portable x86 PC emulation software package, including GUI debugger"
 arch=('i686' 'x86_64')
@@ -12,8 +12,14 @@
 license=('LGPL')
 depends=('gcc-libs' 'libxrandr' 'libxpm' 'gtk2')
 
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz";)
-md5sums=('8ae62e24c19dc862f5e8660a34ab31b2')
+md5sums=('8a243e2b5f7562f32d2b26f3cebbba08')
 
+prepare() {
+    cd "$srcdir/$pkgname-$pkgver"
+    # 4.X kernel is basically 3.20
+    sed -i 's/2\.6\*|3\.\*)/2.6*|3.*|4.*)/' configure*
+}
+
 build() {
     cd "$srcdir/$pkgname-$pkgver"
 

Reply via email to