# Template file for 'scummvm'
pkgname=scummvm
version=1.7.0
revision=1
build_style=configure
configure_args="--prefix=/usr --enable-plugins --enable-all-engines"
hostmakedepends="pkg-config nasm"
makedepends="zlib-devel libpng-devel SDL-devel libmad-devel faad2-devel
 fluidsynth-devel libvorbis-devel libtheora-devel libflac-devel
 freetype-devel libjpeg-turbo-devel"
short_desc="Free implementation of LucasArts' SCUMM interpreter"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.scummvm.org/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=d9ff0e8cf911afa466d5456d28fef692a17d47ddecfd428bf2fef591237c2e66

do_install() {
	vbin scummvm
	vman dists/scummvm.6
	vinstall dists/scummvm.desktop 644 usr/share/applications
	vinstall icons/scummvm.xpm 644 usr/share/pixmaps
	vinstall gui/themes/scummmodern.zip 644 usr/share/scummvm
}
