# Contributor: Jaroslaw Swierczynski # Contributor: Eric Belanger # Contributor: Bob Finch pkgname=dosemu pkgver=1.4.0 pkgrel=2 pkgdesc="DOS emulator" arch=('i686' 'x86_64') url="http://www.dosemu.org/" license=('GPL' 'custom') depends=('gpm' 'slang' 'sdl' 'libxxf86vm' 'libsndfile') backup=('etc/dosemu/dosemu.conf' 'etc/dosemu/dosemu.users' 'etc/dosemu/global.conf') source=(http://downloads.sourceforge.net/sourceforge/dosemu/$pkgname-$pkgver.tgz \ http://downloads.sourceforge.net/sourceforge/dosemu/dosemu-freedos-1.0-bin.tgz) md5sums=('0bba530637266f99d404ba15e3f118d4' '2e09774fe91cff4372cb4a393eb467f5') build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --with-fdtarball=$startdir/src/dosemu-freedos-1.0-bin.tgz --mandir=/usr/share/man make || return 1 make DESTDIR=$startdir/pkg install install -D -m 644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING install -D -m 644 COPYING.DOSEMU $startdir/pkg/usr/share/licenses/$pkgname/COPYING.DOSEMU }