summaryrefslogtreecommitdiff
path: root/community/pcsxr
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-31 02:47:09 -0700
committerroot <root@rshg054.dnsready.net>2013-08-31 02:47:09 -0700
commit35038ccdbc0ea8a9d5c9bf1f5e992d84dda29b99 (patch)
treeafe4d4bb8cf56641358ca5d375e81a42974d24bb /community/pcsxr
parent109554d1877a597958bd06c69eb4a8fca34ef367 (diff)
Sat Aug 31 02:42:46 PDT 2013
Diffstat (limited to 'community/pcsxr')
-rw-r--r--community/pcsxr/PKGBUILD31
-rw-r--r--community/pcsxr/link_order.patch13
2 files changed, 44 insertions, 0 deletions
diff --git a/community/pcsxr/PKGBUILD b/community/pcsxr/PKGBUILD
new file mode 100644
index 000000000..e2b0a1a70
--- /dev/null
+++ b/community/pcsxr/PKGBUILD
@@ -0,0 +1,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')
diff --git a/community/pcsxr/link_order.patch b/community/pcsxr/link_order.patch
new file mode 100644
index 000000000..eedf94000
--- /dev/null
+++ b/community/pcsxr/link_order.patch
@@ -0,0 +1,13 @@
+--- gui/Makefile.in 2010-08-05 13:27:28.000000000 +0200
++++ gui/Makefile.in 2013-01-08 21:10:44.709992969 +0100
+@@ -244,8 +244,8 @@
+ AboutDlg.c
+
+ pcsx_LDADD = \
+- $(GTK2_LIBS) $(GLADE2_LIBS) -lpthread -lz -lm -lXext -lXtst \
+- ../libpcsxcore/libpcsxcore.a
++ ../libpcsxcore/libpcsxcore.a $(GTK2_LIBS) $(GLADE2_LIBS) -lpthread -lz -lm -lXext -lXtst
++
+
+ all: all-am
+