diff options
-rw-r--r-- | libre-multilib/pcsx2/PKGBUILD (renamed from libre-multilib/pcsx2-libre/PKGBUILD) | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libre-multilib/pcsx2-libre/PKGBUILD b/libre-multilib/pcsx2/PKGBUILD index 3fb9571a9..462310975 100644 --- a/libre-multilib/pcsx2-libre/PKGBUILD +++ b/libre-multilib/pcsx2/PKGBUILD @@ -1,12 +1,11 @@ -# $Id: PKGBUILD 105941 2014-02-19 17:17:38Z alucryd $ +# $Id: PKGBUILD 117536 2014-08-18 21:27:02Z alucryd $ # Maintainer (Arch): Maxime Gauduin <alucryd@gmail.com> # Contributor (Arch): josephgbr <rafael.f.f1@gmail.com> # Contributor (Arch): vEX <vex@niechift.com> -_pkgname=pcsx2 -pkgname=$_pkgname-libre +pkgname=pcsx2 pkgver=1.2.2 -pkgrel=3 +pkgrel=3.parabola1 pkgdesc='A Sony PlayStation 2 emulator, without nonfree nvidia-cg-toolkit support' arch=('i686' 'x86_64' 'mips64el') url='http://www.pcsx2.net' @@ -15,23 +14,22 @@ makedepends=('cmake' 'sparsehash') if [[ $CARCH == "i686" ]]; then depends=('glew' 'libaio' 'libcanberra' 'libjpeg-turbo' 'portaudio' 'soundtouch' 'wxgtk2.8') elif [[ $CARCH == "x86_64" ]]; then - makedepends+=('gcc-multilib' 'lib32-glew' 'lib32-libaio' 'lib32-libcanberra' 'lib32-libjpeg-turbo' 'lib32-mesa-libgl' 'lib32-portaudio' 'lib32-soundtouch' 'lib32-wxgtk2.8') + makedepends+=('gcc-multilib' 'lib32-glew' 'lib32-libaio' 'lib32-libcanberra' 'lib32-libjpeg-turbo' 'lib32-libgl' 'lib32-portaudio' 'lib32-soundtouch' 'lib32-wxgtk2.8') fi -provides=("$_pkgname=$pkgver") -conflicts=("$_pkgname") -replaces=("$_pkgname") +conflicts=("${pkgname}-libre") +replaces=("${pkgname}-libre") options=('!emptydirs') source=("https://github.com/PCSX2/pcsx2/archive/v${pkgver}.tar.gz") sha256sums=('4fccef58098d099ffe955fadd5ceee78ed063ab585b8772f4242fd6dc5fd2d23') prepare() { - cd ${_pkgname}-${pkgver} + cd ${pkgname}-${pkgver} # remove Cg shader on ZZogl plugin sed -i '\|zzogl-pg-cg| s|^|#|' plugins/CMakeLists.txt } build() { - cd ${_pkgname}-${pkgver} + cd ${pkgname}-${pkgver} if [[ -d build ]]; then rm -rf build @@ -51,7 +49,7 @@ build() { } package() { - cd ${_pkgname}-${pkgver}/build + cd ${pkgname}-${pkgver}/build if [[ $CARCH == "x86_64" ]]; then depends=('lib32-glew' 'lib32-libaio' 'lib32-libcanberra' 'lib32-libjpeg-turbo' 'lib32-portaudio' 'lib32-soundtouch' 'lib32-wxgtk2.8') |