summaryrefslogtreecommitdiff
path: root/community/pcsxr/PKGBUILD
blob: e2b0a1a70e20cac357e408652550a0e86820e535 (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
# $Id: PKGBUILD 82335 2013-01-15 11:35:07Z allan $
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: quantax -- contact via Arch Linux forum or AUR
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>

pkgname=pcsxr
pkgver=1.9.92
pkgrel=5
pkgdesc='A Sony PlayStation (PSX) emulator based on the PCSX-df project'
arch=('i686' 'x86_64')
url='http://pcsxr.codeplex.com/'
license=('GPL')
depends=('libcdio' 'libgl' 'libglade' 'libxtst' 'libxv' 'sdl')
makedepends=('mesa')
source=("ftp://ftp.archlinux.org/other/community/pcsxr/pcsxr-${pkgver}.tar.bz2"
        "link_order.patch")

build() {
    cd "$srcdir/$pkgname-$pkgver"
    patch -Np0 < "$srcdir/link_order.patch"
    ./configure --prefix=/usr --enable-libcdio --enable-opengl
    make
}

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

md5sums=('28411aed0b4424f97227d94bdefaec83'
         'd38c38fa0fbb11fe881b4a9a868cf603')