# Template file for 'stella'
pkgname=stella
version=5.0
revision=1
build_style=gnu-configure
makedepends="SDL2-devel glu-devel libpng-devel zlib-devel"
short_desc="A multi-platform Atari 2600 VCS Emulator"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2"
homepage="https://stella-emu.github.io/"
distfiles="https://github.com/stella-emu/stella/releases/download/${version}/stella-${version}-src.tar.xz"
checksum=c21ba87959312f833a5a0e8d73d99cb8fb2ddd312f4e0a7ef0412b445903d0bc

do_configure() {
	./configure --prefix=/usr
}

do_install() {
	make DESTDIR=$DESTDIR install
	vbin stella
}
