diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-07-21 17:34:44 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-07-21 17:34:44 -0300 |
commit | 389c6903627ad8718ad87b541e8baff282de0dba (patch) | |
tree | f138bc0a464b87cb68a8dd1c088b234cb08592c9 | |
parent | 284e12f938bfd6e071bf6c15a47a84d606e82eb1 (diff) | |
download | abslibre-389c6903627ad8718ad87b541e8baff282de0dba.tar.gz abslibre-389c6903627ad8718ad87b541e8baff282de0dba.tar.bz2 abslibre-389c6903627ad8718ad87b541e8baff282de0dba.zip |
update reicast
-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 } |