summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 63b913bb457..051acafc51d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,33 @@
# Maintainer: Wouter Wijsman <wwijsman@live.nl>
pkgname=dosbox-staging
-pkgver=0.76.0
-pkgrel=3
+pkgver=0.77.0
+pkgrel=1
epoch=1
pkgdesc="DOS/x86 emulator focusing on ease of use. Based on DOSBox"
arch=('any')
url="https://github.com/dosbox-staging/dosbox-staging"
license=('GPL2')
-depends=('sdl2' 'sdl2_net' 'opusfile' 'alsa-lib' 'fluidsynth')
+depends=('sdl2' 'sdl2_net' 'opusfile' 'alsa-lib' 'fluidsynth' 'munt')
optdepends=('libpng' 'ncurses')
-makedepends=('autoconf' 'automake' 'gcc' 'gzip')
+makedepends=('meson' 'ninja' 'gcc' 'gzip')
provides=("dosbox")
conflicts=("dosbox")
source=(
"https://github.com/dosbox-staging/${pkgname}/archive/v${pkgver}.tar.gz"
)
sha256sums=(
- '7df53c22f7ce78c70afb60b26b06742b90193b56c510219979bf12e0bb2dc6c7'
+ '85e1739f5dfd7d96b752b2b0e12aad6f95c7770b47fcdaf978d4128d7890d986'
)
prepare() {
cd "$srcdir/${pkgname}-${pkgver}"
- FLAGS="-O3 -DNDEBUG -pipe"
- ./autogen.sh
- ./configure CFLAGS="$FLAGS" CXXFLAGS="$FLAGS" --prefix=/usr
+ meson setup --prefix /usr -Dbuildtype=release build
}
build() {
cd "$srcdir/${pkgname}-${pkgver}"
- make -j "$(nproc)"
+ ninja -C build
}
package() {
@@ -39,7 +37,7 @@ package() {
gzip -f "docs/dosbox.1" > "docs/dosbox.1.gz"
# install all files
- install -Dm 755 "src/dosbox" "$pkgdir/usr/bin/dosbox"
+ install -Dm 755 "build/dosbox" "$pkgdir/usr/bin/dosbox"
install -Dm 644 "docs/dosbox.1.gz" "$pkgdir/usr/share/man/man1/dosbox.1.gz"
# desktop file and icon