void-packages/srcpkgs/dosbox/template

26 lines
798 B
Bash

# Template file for 'dosbox'
pkgname=dosbox
version=0.74.3
revision=1
wrksrc=${pkgname}-0.74-3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libpng-devel SDL_net-devel SDL_sound-devel"
short_desc="DOS x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics and sound"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.dosbox.com"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${wrksrc}.tar.gz"
checksum=c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a
pre_configure() {
sed -i 's/png_check_sig/png_sig_cmp/' configure
}
post_install() {
vdoc README
vdoc docs/README.video
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
}