# Template file for 'dgen-sdl'
pkgname=dgen-sdl
version=1.31
revision=2
build_style=gnu-configure
makedepends="pkg-config SDL-devel libarchive-devel>=3.1.2 nasm"
short_desc="Multi‐platform Genesis/Mega Drive Emulator"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD, GPL-2, LGPL-2.1"
homepage="http://dgen.sourceforget.net"
distfiles="${SOURCEFORGE_SITE}/dgen/${pkgname}-${version}.tar.gz"
checksum=efc61733dae4f5f5e74930a25f5632ff5732ecbcabf50f189c10e5e024c5fb45

post_install() {
	vinstall COPYING 644 usr/share/licenses/${pkgname}
}

dgen-sdl_package() {
	pkg_install() {
		vmove usr
	}
}
