Skip to content

@matthewbauer /PKGBUILD.sh
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#PCSX2-svn maintainer: Hans-Kristian Arntzen <maister at archlinux.us>
pkgname=pcsx2-svn
pkgver=3120
pkgrel=1
pkgdesc="A PlayStation 2 emulator."
arch=('i686')
url="http://www.pcsx2.net"
license=('GPL')
depends=('bzip2' 'gtk2' 'nvidia-cg-toolkit' 'glew' 'alsa-lib' 'sdl')
install="pcsx2.install"
source=('pcsx2.sh')
md5sums=('7e05a5d90e17f4c65892a9f7b5d9f5ab')
_svntrunk=http://pcsx2.googlecode.com/svn/trunk
_svnmod=pcsx2
_svntrunk_zerogs=http://sanechka.spb.ru/svnroot/ruslan/zerogs/
_svnmod_zerogs=zzogl
build() {
cd "$srcdir"
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
rm -rf "$srcdir/$_svnmod-build"
cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
cd "$srcdir/$_svnmod-build"
cd plugins
if [ -d $_svnmod_zerogs/.svn ]; then
(cd $_svnmod_zerogs && svn up -r $pkgver)
else
svn co $_svntrunk_zerogs --config-dir ./ -r $pkgver $_svnmod_zerogs
fi
cd ..
msg "SVN checkout done or server timeout"
msg "Starting make..."
mkdir -p ${pkgdir}/opt/pcsx2
cp -R bin/* ${pkgdir}/opt/pcsx2/ || return 1
install -m0755 -D ${srcdir}/pcsx2.sh ${pkgdir}/usr/bin/pcsx2 || return 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.