PKGBUILDs/extra/dosbox/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
867 B
Bash

# $Id: PKGBUILD 46388 2009-07-17 11:51:23Z james $
# Maintainer: eric <eric@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
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