diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/yabause-qt/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/yabause-qt/PKGBUILD')
-rwxr-xr-x | community/yabause-qt/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/yabause-qt/PKGBUILD b/community/yabause-qt/PKGBUILD new file mode 100755 index 000000000..d8d2092f1 --- /dev/null +++ b/community/yabause-qt/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 86075 2013-03-11 21:47:54Z alucryd $ +# Maintainer: Maxime Gauduin <alucryd@gmail.com> +# Contributor: Harley Laue <losinggeneration@gmail.com> +# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr> +# Contributor: Anton Shestakov <engoredi@ya.ru> +# Contributor: Tiago Camargo <tcamargo@gmail.com> +# Contributor: robb_force <robb_force@holybuffalo.net> + +pkgname=yabause-qt +pkgver=0.9.12 +pkgrel=1 +pkgdesc='A Sega Saturn emulator' +arch=('i686' 'x86_64') +url="http://yabause.org/" +license=('GPL') +depends=('freeglut' 'mesa' 'openal' 'qt4' 'sdl') +makedepends=('cmake' 'glu') +conflicts=('yabause-gtk') +source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname%-*}-${pkgver}.tar.gz" 'rwx.patch') +sha256sums=('f45c9649c379e1e790856f8dfa37d93be5638e8f697319b241951316f817bfb1' + 'd29997d3249683081a2687f31e777f917093101d56815d22103aaaf22ac786b1') + +build() { + cd "${srcdir}"/${pkgname%-*}-${pkgver} + +# Patch + patch -Np1 -i "${srcdir}"/rwx.patch + +# Build + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DYAB_PORTS=qt -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=on -DYAB_PERKEYNAME=ON + make +} + +package() { + cd "${srcdir}"/${pkgname%-*}-${pkgver}/build + +# Install + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: |