# Template file for 'nestopia'
pkgname=nestopia
version=1.45
revision=1
wrksrc="rdanbrook-nestopia-59c9928"
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
hostmakedepends="pkg-config"
makedepends="SDL-devel alsa-lib-devel gtk+3-devel glu-devel libarchive-devel desktop-file-utils"
depends="desktop-file-utils"
short_desc="NES/Famicom emulator designed to emulate the NES hardware accurately"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://nestopia.sourceforge.net/"
distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-${version}.tar.gz"
checksum=0a9152a60bc72bdaed853a756b822ac48fd6d4b3463436a873d5f46d785e641f

do_install() {
	mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
	make PREFIX=${DESTDIR}/usr install
}
