summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d97b697ea538d9c74c1aa1fa9bde7491afbba43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: WorMzy Tykashi <wormzy.tykashi@gmail.com>
# Contributer: Fincer <fincer89@hotmail.com>

pkgname=pcsxr-gtk2
_pkgname=pcsxr
pkgver=1.9.92
pkgrel=1
pkgdesc='A Sony PlayStation (PSX) emulator based on the PCSX-df project (Gtk2 version)'
arch=('i686' 'x86_64')
url='http://pcsxr.codeplex.com/'
license=('GPL')
conflicts=('pcsxr')
depends=('libcdio' 'libgl' 'libglade' 'libxtst' 'libxv' 'sdl')
makedepends=('mesa')
makedepends_i686+=('nasm')

# Accessible through /srv/ftp/other/community on nymeria.
source=("https://sources.archlinux.org/other/community/pcsxr/pcsxr-${pkgver}.tar.bz2"
"link_order.patch")

md5sums=('28411aed0b4424f97227d94bdefaec83'
         'ce021bfc4c19e553a2cdb95b7ca1eb01')

build() {
    cd "$srcdir/$_pkgname-$pkgver"
    patch -Np1 -i "$srcdir/link_order.patch"
    ./configure --prefix=/usr --enable-libcdio --enable-opengl
    make
}

package() {
    cd "$srcdir/$_pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
}