1 # Contributor: robb_force <robb_force@holybuffalo.net>
7 pkgdesc="A command-line emulator of the ZN-1, ZN-2 and System 11 arcade hardware, which are modified Sony PlayStation hardware."
8 url="http://www.emuhype.com/index.phtml?s=zinc&ss=index"
11 depends=('libstdc++5')
13 source=(http://www.emuhype.com/files/${_pkgname}${pkgver%.*}${pkgver#*.}-lnx.tar.bz2 \
15 md5sums=('0c67bab63a330f47d9fb176dc495c6e8'
16 '54b14e4c9b57c62653c165e4d86b36ff'
17 '02213cf5b686c682f8dc15d69ee2d240')
21 cd ${startdir}/src/${_pkgname}
23 # Install the libraries
24 install -d ${startdir}/pkg/usr/lib/${pkgname}/
25 install -m0755 {libs11player.so,libsoundznc.so} ${startdir}/pkg/usr/lib/${pkgname}/
28 install -Dm0755 ${_pkgname} ${startdir}/pkg/usr/share/${pkgname}/${_pkgname}
30 # Install the standard plugins and renderer.cfg
31 install -d ${startdir}/pkg/usr/share/${pkgname}/plugins/
32 install -m0755 {libcontrolznc.so,librendererznc.so} ${startdir}/pkg/usr/share/${pkgname}/plugins/
33 install -Dm0644 renderer.cfg ${startdir}/pkg/usr/share/${pkgname}/cfg/renderer.cfg
35 # Install the other files
37 install -m0644 zinc.cfg ${startdir}/pkg/usr/share/${pkgname}/
38 install -Dm0755 zinc.sh ${startdir}/pkg/usr/bin/${pkgname}