summaryrefslogtreecommitdiff
path: root/extra/bochs/PKGBUILD
blob: b9b39db340f6d048aae435a73040dcd2fe596de4 (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
# $Id: PKGBUILD 151161 2012-02-25 06:28:51Z pierre $
#Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Kevin Piche <kevin@archlinux.org>

pkgname=bochs
pkgver=2.5.1
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")
depends=('gcc-libs' 'libxrandr')
md5sums=('4fe5325ec422a7f74dbb0adb52c76bb6')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --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
}