summaryrefslogtreecommitdiff
path: root/libre-multilib/pcsx2-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre-multilib/pcsx2-libre/PKGBUILD')
-rw-r--r--libre-multilib/pcsx2-libre/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/libre-multilib/pcsx2-libre/PKGBUILD b/libre-multilib/pcsx2-libre/PKGBUILD
index 9331100aa..97fc7187a 100644
--- a/libre-multilib/pcsx2-libre/PKGBUILD
+++ b/libre-multilib/pcsx2-libre/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 103474 2014-01-06 14:09:29Z alucryd $
+# $Id: PKGBUILD 105250 2014-02-03 11:40:28Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: josephgbr <rafael.f.f1@gmail.com>
# Contributor: vEX <vex@niechift.com>
_pkgname=pcsx2
pkgname=$_pkgname-libre
-pkgver=1.1.0.r5797
+pkgver=1.2.0
pkgrel=1
pkgdesc='A Sony PlayStation 2 emulator, without nonfree nvidia-cg-toolkit support'
arch=('i686' 'x86_64')
url='http://www.pcsx2.net'
-license=('GPL')
+license=('GPL2' 'GPL3' 'LGPL2.1' 'LGPL3')
makedepends=('cmake' 'sparsehash' 'svn')
if [[ $CARCH == "i686" ]]; then
depends=('glew' 'libaio' 'libcanberra' 'libjpeg-turbo' 'portaudio' 'sdl2' 'soundtouch' 'wxgtk2.8')
@@ -21,11 +21,17 @@ provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
replaces=("$_pkgname")
options=('!emptydirs')
-source=("${_pkgname}::svn+http://pcsx2.googlecode.com/svn/trunk/#revision=${pkgver#*r}")
+source=("${_pkgname}-${pkgver}::svn+http://pcsx2.googlecode.com/svn/tags/v${pkgver%.?}")
sha256sums=('SKIP')
+prepare() {
+ cd ${_pkgname}-${pkgver}
+ # remove Cg shader on ZZogl plugin
+ sed -i '\|zzogl-pg-cg| s|^|#|' plugins/CMakeLists.txt
+}
+
build() {
- cd ${_pkgname}
+ cd ${_pkgname}-${pkgver}
if [[ -d build ]]; then
rm -rf build
@@ -45,7 +51,7 @@ build() {
}
package() {
- cd ${_pkgname}/build
+ cd ${_pkgname}-${pkgver}/build
if [[ $CARCH == "x86_64" ]]; then
depends=('lib32-glew' 'lib32-libaio' 'lib32-libcanberra' 'lib32-libjpeg-turbo' 'lib32-portaudio' 'lib32-sdl2' 'lib32-soundtouch' 'lib32-wxgtk2.8')