# Template file for 'fceux'
pkgname=fceux
version=2.2.3
revision=2
build_style=scons
make_build_args="SYSTEM_LUA=1"
hostmakedepends="pkg-config"
makedepends="zlib-devel lua51-devel SDL-devel gtk+-devel gd-devel"
short_desc="The all in one NES/Famicom Emulator"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-2.0-or-later"
homepage="http://www.fceux.com/"
distfiles="${SOURCEFORGE_SITE}/fceultra/Source%20Code/${version}%20src/${pkgname}-${version}.src.tar.gz"
checksum=4be6dda9a347f941809a3c4a90d21815b502384adfdd596adaa7b2daf088823e

do_install() {
	scons --prefix=${DESTDIR}/usr install
}
