diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/dosbox |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/dosbox')
-rw-r--r-- | extra/dosbox/PKGBUILD | 37 | ||||
-rw-r--r-- | extra/dosbox/dosbox.desktop | 10 | ||||
-rw-r--r-- | extra/dosbox/dosbox.png | bin | 0 -> 4691 bytes |
3 files changed, 47 insertions, 0 deletions
diff --git a/extra/dosbox/PKGBUILD b/extra/dosbox/PKGBUILD new file mode 100644 index 000000000..e4d4be918 --- /dev/null +++ b/extra/dosbox/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 80630 2010-05-20 16:06:03Z ibiru $ +# Maintainer : +# Contributor: James Rayner <james@archlinux.org> +# Contributor: Ben <ben@benmazer.net> + +pkgname=dosbox +pkgver=0.74 +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') +makedepends=('mesa') +source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz" + 'dosbox.png' 'dosbox.desktop') +md5sums=('b9b240fa87104421962d14eee71351e8' + '2aac25fc06979e375953fcc36824dc5e' + '85169ca599028bee8e29e0b3b7b34dd8') + +build(){ + cd ${srcdir}/${pkgname}-${pkgver} + sed -i 's/png_check_sig/png_sig_cmp/' configure || return 1 + ./configure --prefix=/usr \ + --sysconfdir=/etc/dosbox || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install || return 1 + + install -Dm644 ${srcdir}/${pkgname}.png \ + ${pkgdir}/usr/share/pixmaps/${pkgname}.png || return 1 + install -Dm644 ${srcdir}/${pkgname}.desktop \ + ${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1 +} diff --git a/extra/dosbox/dosbox.desktop b/extra/dosbox/dosbox.desktop new file mode 100644 index 000000000..dbaf05ced --- /dev/null +++ b/extra/dosbox/dosbox.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=dosbox Emulator +GenericName=Emulator +Comment=An emulator to run old DOS games +Icon=dosbox +Exec=dosbox +Terminal=false +Categories=Emulator;Application; diff --git a/extra/dosbox/dosbox.png b/extra/dosbox/dosbox.png Binary files differnew file mode 100644 index 000000000..b8a917986 --- /dev/null +++ b/extra/dosbox/dosbox.png |