#Packager: George Vlahavas pkgname=dosbox-x pkgver=0.83.25 pkgrel=1gv source=("https://github.com/joncampbell123/dosbox-x/archive/refs/tags/dosbox-x-v${pkgver}.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://dosbox-x.com/ doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "dosbox-x (Complete, accurate, DOS emulation)" "DOSBox-X is a fork of DOSBox; while retaining compatibility with the" "wide base of DOS games and DOS gaming DOSBox was designed for, it goes" "further with a focus on accurate emulation of the hardware and many" "more ways to tweak and configure the DOS virtual machine." ) build() { cd $startdir/src/$pkgname-$pkgname-v$pkgver ./autogen.sh ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-sdl2 \ --enable-d3d9 \ --enable-d3d-shaders \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }