1 # Contributor: robb_force <robb_force@holybuffalo.net>
6 pkgdesc="A simple frontend for various game emulators, including XMAME, SDLMAME, Snes9x an ZSNES."
7 url="http://loemu.pegueroles.com/"
10 depends=('pygtk>=2.6' 'libglade' 'libxslt')
11 makedepends=('intltool')
12 source=(http://loemu.pegueroles.com/dists/${pkgname}-${pkgver}.tar.gz \
14 md5sums=('c2ac4dc230511d48761c0781f50aa1a1'
15 '91eec5854583f971388f7034a84c64bd')
18 # Make some fixes to the paths
19 cd ${startdir}/src/${pkgname}-${pkgver}/${pkgname}
20 sed 's|share/games|share|g' -i Preferences.py
21 sed 's|share/games|share|g' -i Loemu.py
22 sed 's|share/games|share|g' -i Config.py
23 cd ${startdir}/src/${pkgname}-${pkgver}/config
24 sed 's|mamepm|sdlmame|' -i sdlmame.conf
25 cd ${startdir}/src/${pkgname}-${pkgver}
26 sed 's|share/games|share|g' -i setup.py
28 # Install the application
29 python setup.py install --root=${startdir}/pkg/ --prefix=/usr
31 # Install the desktop entry
32 install -Dm644 ${startdir}/src/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop
33 install -Dm644 images/penguin-revolt-128.png ${startdir}/pkg/usr/share/pixmaps/${pkgname}.png