void-packages/srcpkgs/dosbox/template

26 lines
798 B
Bash

# Template file for 'dosbox'
pkgname=dosbox
version=0.74.2
revision=1
wrksrc=${pkgname}-0.74-2
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="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.dosbox.com"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${wrksrc}.tar.gz"
checksum=7077303595bedd7cd0bb94227fa9a6b5609e7c90a3e6523af11bc4afcb0a57cf
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
}