updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / psx / PKGBUILD
blob414fb87754ca62190310e977230161d7775a8da5
1 # Maintainer: TryA <tryagainprod@gmail.com>
2 # Contributor: Sphax <zecmerquise.at.gmail.dot.com>
3 # Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
5 pkgname=psx
6 pkgver=1.13
7 pkgrel=7
8 pkgdesc="A PlayStation emulator, not plugin based"
9 arch=('i686' 'x86_64')
10 url="http://psxemulator.gazaxian.com/"
11 license=('unknown')
12 if [ "${CARCH}" == "x86_64" ]; then
13   depends=('lib32-gtkglext' 'lib32-alsa-lib' 'lib32-libglade' 'lib32-xcb-util')
14   optdepends=('lib32-gtk-engines: libclearlooks.so library'
15               'lib32-bug-buddy: libgnomesegvhandler.so library')
16 else
17   depends=('gtkglext' 'alsa-lib' 'libglade' 'xcb-util')
19 replaces=('bin32-psx')
20 conflicts=('bin32-psx')
21 install="psx.install"
22 source=("http://psxemulator.gazaxian.com/pSX_linux_1_13.tar.bz2"
23         "http://trya.alwaysdata.net/linux/icons/psx.png"
24         'psx.sh' 'psx.desktop' 'psx.ini')
25 md5sums=('0812408db22184ceb8cb29ae7601298f'
26          '6471243708d085addec13e947d71d853'
27          'b810fb6fb7c6a8b91611a5f0fe1e6b28'
28          '3b93679970229887294aee79fef1924e'
29          '5ad67ab8608edde9545571a9e8bc19e9')
30 options=(!strip)
32 build() {
33   cd ${srcdir}
35   # default configuration and documentation
36   install -d ${pkgdir}/usr/share/pSX/{bios,cdimages}
37   install -Dm644 psx.ini ${pkgdir}/usr/share/pSX/psx.ini
38   install -Dm644 pSX/readme.txt ${pkgdir}/usr/share/doc/pSX/readme.txt
40   # startup script and executable
41   install -Dm755 psx.sh ${pkgdir}/usr/bin/pSX
42   install -Dm755 pSX/pSX ${pkgdir}/usr/lib/pSX/pSX
44   # desktop icon
45   install -Dm644 psx.desktop ${pkgdir}/usr/share/applications/psx.desktop
46   install -Dm644 psx.png ${pkgdir}/usr/share/pixmaps/psx.png