diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-12 18:11:10 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-01-12 18:11:10 -0500 |
commit | 1af131a512b6cf244a8b50565e0553f9b11b4328 (patch) | |
tree | bcb9ce4754c164fd79091e3cb6861d4df82dc1e1 /pcr/yabause-svn | |
parent | 330c0a9ff2e05b86f69f0209b3265cb003e0c98d (diff) | |
parent | 994ea903447400adf05d1da1d36d7df8f7dbcd56 (diff) | |
download | abslibre-1af131a512b6cf244a8b50565e0553f9b11b4328.tar.gz abslibre-1af131a512b6cf244a8b50565e0553f9b11b4328.tar.bz2 abslibre-1af131a512b6cf244a8b50565e0553f9b11b4328.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Conflicts:
libre/iceweasel-i18n/PKGBUILD
libre/iceweasel-libre/PKGBUILD
libre/iceweasel-libre/libre.patch
libre/iceweasel-libre/mozconfig
Diffstat (limited to 'pcr/yabause-svn')
-rw-r--r-- | pcr/yabause-svn/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/yabause-svn/PKGBUILD b/pcr/yabause-svn/PKGBUILD new file mode 100644 index 000000000..e8996aa3a --- /dev/null +++ b/pcr/yabause-svn/PKGBUILD @@ -0,0 +1,39 @@ +pkgname=yabause-svn +pkgver=3010 +pkgrel=1 +pkgdesc="A Sega Saturn emulator. (svn)" +arch=(i686 x86_64) +license=("GPL") +depends=(gtkglext sdl freeglut glu) +makedepends=(subversion mesa) +url="http://yabause.org/" +conflicts=(yabause yabause-qt yabause-qt-svn) +provides=(yabause) +_svntrunk="https://yabause.svn.sourceforge.net/svnroot/yabause/trunk" +_svnmod="yabause" + +build() { + cd "${srcdir}" + + if [ -d "${_svnmod}/.svn" ]; then + (cd "$_svnmod" && svn up -r $pkgver) + else + svn co "$_svntrunk" --config-dir ./ -r $pkgver $_svnmod + fi + + msg 'SVN checkout done or server timeout' + + rm -rf "${_svnmod}-build" + cp -r "$_svnmod" "${_svnmod}-build" + cd "${_svnmod}-build/yabause" + + ./autogen.sh + ./configure --prefix=/usr LIBS="-lm" + make +} + +package() { + cd "${srcdir}/${_svnmod}-build/yabause" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |