blob: 46e3cdcea2d199b55a9c6f6b901dd77116bbe117 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Balazs Ruzsa <ruzsa.balazs@gmail.com>
pkgname=retro-debugger-git
pkgver=v0.64.68.r8.4d8f80e
pkgrel=1
pkgdesc="Multiplatform debugger APIs host for retro computers: C64 (Vice), Atari800 and NES (NestopiaUE)"
arch=(x86_64)
url="https://github.com/slajerek/RetroDebugger"
license=('custom')
depends=('sdl2' 'glib2' 'gtk3' 'alsa-lib' 'glew' 'libx11' 'libxcb' 'sndio' 'freetype2' 'zlib')
makedepends=('git' 'cmake')
provides=("${pkgname%-git}")
source=(
'RetroDebugger::git+https://github.com/slajerek/RetroDebugger.git'
'MTEngineSDL::git+https://github.com/slajerek/MTEngineSDL.git'
)
md5sums=(
'SKIP'
'SKIP'
)
pkgver() {
cd "$srcdir/RetroDebugger"
printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
prepare() {
cd "$srcdir/MTEngineSDL"
cd "$srcdir/RetroDebugger"
}
build() {
cd "$srcdir/MTEngineSDL"
mkdir -p build
cd build
cmake ..
make
cd "$srcdir/RetroDebugger"
mkdir -p build
cd build
cmake -DCMAKE_C_FLAGS="-fpermissive" ..
make
}
package() {
cd "$srcdir/RetroDebugger/build"
mkdir -p "$pkgdir/usr/bin"
install -m 0755 retrodebugger "$pkgdir/usr/bin"
}
|