summaryrefslogtreecommitdiff
path: root/pcr/yabause-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/yabause-git/PKGBUILD')
-rw-r--r--pcr/yabause-git/PKGBUILD50
1 files changed, 0 insertions, 50 deletions
diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD
deleted file mode 100644
index 6de78f4eb..000000000
--- a/pcr/yabause-git/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
-pkgname=yabause-git
-pkgver=20130301
-pkgrel=1
-pkgdesc="A Sega Saturn emulator (GIT version)"
-arch=('x86_64' 'i686')
-url="http://yabause.org/"
-license=('GPL')
-conflicts=('yabause')
-provides=('yabause')
-depends=('mini18n-git' 'openal' 'sdl' 'freeglut')
-makedepends=('git' 'cmake' 'mesa' 'glu')
-
-#Enable QT or GTK
-#_port=gtk
-_port=qt
-
-[ "${_port}" = "qt" ] && depends+=('qt4')
-[ "${_port}" = "gtk" ] && depends+=('gtkglext')
-
-_gitroot="git://github.com/Guillaumito/yabause.git"
-_gitname="yabause"
-
-build() {
- cd "${srcdir}"
- msg "Connecting to GIT server...."
-
- if [ -d "${_gitname}" ]; then
- cd "${_gitname}" && git pull
- msg "The local files are updated."
- else
- git clone --depth=1 "${_gitroot}" "${_gitname}"
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
-
- rm -rf "${srcdir}/${_gitname}-build"
- cp -R "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
- cd "${srcdir}/${_gitname}-build/${_gitname}"
-
- LDFLAGS+=",-z,noexecstack"
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DYAB_PORTS="${_port}" -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=ON -DYAB_PERKEYNAME=ON
- make
-}
-
-package() {
- cd "${srcdir}/${_gitname}-build/${_gitname}"
- make DESTDIR="${pkgdir}/" install
-}