summaryrefslogtreecommitdiff
path: root/extra/bochs/PKGBUILD
blob: 859c5d737bc0f1dd3e515a0af311954484942506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 127306 2011-06-13 00:31:34Z kevin $
#Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Kevin Piche <kevin@archlinux.org>

pkgname=bochs
pkgver=2.4.6
pkgrel=1
pkgdesc="A portable x86 PC emulation software package"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://bochs.sourceforge.net/"
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
2.4.5-fetchcode.patch)
depends=('gcc-libs' 'libxrandr')
# 'libxpm')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  #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
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make prefix=${pkgdir}/usr install
  install -D -m 644 .bochsrc ${pkgdir}/etc/bochsrc-sample.txt
}
sha256sums=('689dcc5fccfd70c8340a54986f0cb9c2824009ed602718802868333da9ac53b9'
            '3dba808614da7d0fa1a3d6ddaceabf027a873d1f45fb90ec43b8dce876baa8ff')