updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / zinc-emu / PKGBUILD
blob78b696c99fbdbaaaf0274011f4cb805dc295c5ba
1 # Contributor: robb_force <robb_force@holybuffalo.net>
3 pkgname=zinc-emu
4 _pkgname=zinc
5 pkgver=1.1
6 pkgrel=1
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"
9 license=('as-is')
10 arch=('i686')
11 depends=('libstdc++5')
12 install=zinc.install
13 source=(http://www.emuhype.com/files/${_pkgname}${pkgver%.*}${pkgver#*.}-lnx.tar.bz2 \
14   zinc.sh zinc.cfg)
15 md5sums=('0c67bab63a330f47d9fb176dc495c6e8'
16          '54b14e4c9b57c62653c165e4d86b36ff'
17          '02213cf5b686c682f8dc15d69ee2d240')
19 build()
21   cd ${startdir}/src/${_pkgname}
22   
23   # Install the libraries
24   install -d ${startdir}/pkg/usr/lib/${pkgname}/
25   install -m0755 {libs11player.so,libsoundznc.so} ${startdir}/pkg/usr/lib/${pkgname}/
26   
27   # Install the binary
28   install -Dm0755 ${_pkgname} ${startdir}/pkg/usr/share/${pkgname}/${_pkgname}
29   
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
34   
35   # Install the other files
36   cd ${startdir}/src
37   install -m0644 zinc.cfg ${startdir}/pkg/usr/share/${pkgname}/
38   install -Dm0755 zinc.sh ${startdir}/pkg/usr/bin/${pkgname}