summaryrefslogtreecommitdiff
path: root/community/bochs/PKGBUILD
blob: e5722c6eb193f0ab99239513c7cf309f96924d5c (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 83126 2013-01-27 16:09:41Z pierre $
#Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Kevin Piche <kevin@archlinux.org>

pkgname=bochs
pkgver=2.6
pkgrel=1.1
pkgdesc="A portable x86 PC emulation software package"
arch=('i686' 'x86_64' 'mips64el')
url="http://bochs.sourceforge.net/"
license=('LGPL')
depends=('gcc-libs' 'libxrandr')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('7e25e1a4d2f7e0464e8d6381f38741d9')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --without-wx --enable-cpu-level=6 \
              --enable-fpu --enable-3dnow --enable-disasm
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D -m 644 .bochsrc "${pkgdir}/etc/bochsrc-sample.txt"
}