diff options
Diffstat (limited to 'pcr/reicast-git/PKGBUILD')
-rw-r--r-- | pcr/reicast-git/PKGBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/pcr/reicast-git/PKGBUILD b/pcr/reicast-git/PKGBUILD index c61ea0a81..fe50339b2 100644 --- a/pcr/reicast-git/PKGBUILD +++ b/pcr/reicast-git/PKGBUILD @@ -3,7 +3,7 @@ # Maintainer: Márcio Silva <coadde@parabola.nu> pkgname=reicast-git -pkgver=r1233.c5e5600 +pkgver=r1252.5b92793 pkgrel=1 pkgdesc="A multiplatform Sega Dreamcast emulator" arch=('i686' 'x86_64') @@ -12,9 +12,7 @@ license=('GPL2') conflicts=('reicast') provides=('reicast') makedepends=('git') -makedepends_x86_64=('gcc-multilib') -depends_x86_64=('lib32-libgl' 'lib32-alsa-plugins') -depends_i686=('libgl' 'alsa-plugins') +depends=('libgl' 'alsa-plugins') optdepends=('xboxdrv: Userspace gamepad driver for Xbox and Xbox360 gamepads' 'antimicro: Graphical program used to map keyboard keys and mouse controls to gamepad buttons') source=(reicast::"git+https://github.com/reicast/reicast-emulator.git" @@ -39,13 +37,21 @@ prepare () { } build () { - make -C reicast/shell/lin86 + if [[ $CARCH == x86_64 ]]; then + make -C reicast/shell/lin64 + elif [[ $CARCH == i686 ]]; then + make -C reicast/shell/lin86 + fi } package () { cd reicast - install -Dm755 shell/lin86/reicast.elf "$pkgdir"/usr/bin/reicast + if [[ $CARCH == x86_64 ]]; then + install -Dm755 shell/lin64/reicast.elf "$pkgdir"/usr/bin/reicast + elif [[ $CARCH == i686 ]]; then + install -Dm755 shell/lin86/reicast.elf "$pkgdir"/usr/bin/reicast + fi # license install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |