summaryrefslogtreecommitdiff
path: root/pcr/reicast-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/reicast-git/PKGBUILD')
-rw-r--r--pcr/reicast-git/PKGBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/pcr/reicast-git/PKGBUILD b/pcr/reicast-git/PKGBUILD
index 758f0cf0a..3dd13fb68 100644
--- a/pcr/reicast-git/PKGBUILD
+++ b/pcr/reicast-git/PKGBUILD
@@ -4,18 +4,15 @@
pkgname=reicast-git
pkgver=r1651.56f8ffa
-pkgrel=1
+pkgrel=2
pkgdesc="A multiplatform Sega Dreamcast emulator"
arch=('i686' 'x86_64')
url="http://reicast.com/"
license=('GPL2')
provides=('reicast')
conflicts=('reicast')
-conflicts_x86_64+=('reicast-multilib' 'reicast-multilib-git')
-replaces_x86_64=('reicast-multilib' 'reicast-multilib-git')
makedepends=('git')
depends=('libgl' 'alsa-plugins' 'libpulse' 'python-evdev' )
-optdepends=('xboxdrv: Userspace gamepad driver for Xbox and Xbox360 gamepads')
source=(reicast::"git+https://github.com/reicast/reicast-emulator.git"
'enable_multiplayer_support.patch')
sha256sums=('SKIP'
@@ -46,13 +43,11 @@ prepare () {
}
build () {
- make -C reicast/shell/linux
+ mkdir -vm 0755 "$srcdir"/pkgbuild-dir
+ make -C reicast/shell/linux PREFIX=/usr DESTDIR="$srcdir"/pkgbuild-dir install
}
package () {
- cd reicast
-
- make -C shell/linux PREFIX=/usr DESTDIR=$pkgdir install
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ cp -va "$srcdir"/pkgbuild-dir/* "$pkgdir"
+ install -Dm 644 reicast/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}