1 #Contributor: robb_force <robb_force>
7 pkgdesc="A command-line multiple arcade laserdisc emulator."
8 url="http://www.daphne-emu.com/"
11 depends=('sdl_mixer' 'zlib' 'gcc-libs')
13 provides=('daphne=1.0')
14 source=(http://www.daphne-emu.com/download/${_pkgname}-${pkgver}beta-linux.tar.gz \
16 md5sums=('a7812a93bc19fe9ec4cd0a1a7066c71f'
17 '58c7d5cb0fa68a386692ee35cc675d4b')
23 install -Dm755 daphne.sh ${startdir}/pkg/usr/bin/${_pkgname}
25 # Install everything else in /opt/daphne-beta
26 # daphneloader can be run from here to do updates or run games.
27 cd ${startdir}/src/${_pkgname}
28 mkdir -p ${startdir}/pkg/opt/${pkgname}
29 cp -R * ${startdir}/pkg/opt/${pkgname}/
31 # Change group to games
32 chown -R :games ${startdir}/pkg/opt/${pkgname}
34 # Set permissions for files and folders
35 find ${startdir}/pkg/opt/${pkgname} -type f -exec chmod 660 {} +
36 find ${startdir}/pkg/opt/${pkgname} -type d -exec chmod 770 {} +
38 # Set permissions for the executables
39 cd ${startdir}/pkg/opt/${pkgname}
40 chmod 770 {daphne,daphneloader,daphneloader.bin,input_grabber}