blob: afc005106804141dcb7b06542c04e5c7326742fa (
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
|
# Mantainer: Franco Tortoriello
pkgname=dosbox-x-sdl2-git
pkgver=2024.12.04.r40.gc79699cdd
pkgrel=1
epoch=3
pkgdesc="x86 emulator with builtin DOS, with patches with more features - sdl2 git version"
arch=(i686 x86_64)
url="https://dosbox-x.com/"
license=(GPL)
depends=(fluidsynth libxkbfile libxrandr ffmpeg sdl2_net libslirp)
makedepends=(git glu)
conflicts=(dosbox-x-sdl2 dosbox-x-git dosbox-x)
install='dosbox-x.install'
source=(dosbox-x::git+https://github.com/joncampbell123/dosbox-x.git)
sha256sums=('SKIP')
options=(!debug)
pkgver() {
cd "$srcdir/dosbox-x"
git describe --long --tags | sed 's/^dosbox.x-//;s/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48
}
build() {
cd "$srcdir/dosbox-x"
./autogen.sh
./configure --enable-debug --enable-avcodec --prefix=/usr --enable-sdl2
make
}
package() {
cd "$srcdir/dosbox-x"
make DESTDIR="$pkgdir" install
}
|