# $Id: PKGBUILD 46388 2009-07-17 11:51:23Z james $ # Maintainer: eric # Contributor: Ben pkgname=dosbox pkgver=0.73 pkgrel=1 pkgdesc="An emulator with builtin DOS for running DOS Games" arch=(i686 x86_64) url="http://dosbox.sourceforge.net/" license=('GPL') depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs') source=(http://downloads.sourceforge.net/sourceforge/dosbox/$pkgname-$pkgver.tar.gz ) md5sums=('262939cc28966c1f9b07c2bc472b699f' 'd0cf64f78ba1a4a85981c421ee04fd22') build() { cd $startdir/src/$pkgname-$pkgver #patch -p1 -i $startdir/src/dosbox-0.72+gcc-4.3.patch || return 1 ./configure --prefix=/usr --sysconfdir=/etc/dosbox # Fix invalid permissions FS#10732 chmod 755 $startdir/pkg/usr/man/man1 make || return 1 make prefix=$startdir/pkg/usr install } # vim: ts=2 sw=2 et ft=sh