void-packages/srcpkgs/dosbox/template
2015-08-16 14:47:06 +02:00

25 lines
847 B
Bash

# Template file for 'dosbox'
pkgname=dosbox
version=0.74
revision=6
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libpng-devel SDL_net-devel SDL_sound-devel"
short_desc="x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://dosbox.sourceforget.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05
pre_configure() {
sed -i 's/png_check_sig/png_sig_cmp/' configure
}
post_install() {
vinstall README 644 usr/share/doc/${pkgname}
vinstall docs/README.video 644 usr/share/doc/${pkgname}
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
}