# Template file for 'simutron'
pkgname=simutron
version=1.0.1.SR2
revision=1
build_wrksrc=build
build_style=qmake
hostmakedepends="subversion qt5-qmake qt5-host-tools pkg-config"
makedepends="simavr-devel qt5-devel"
short_desc="AVR simulator IDE"
maintainer="Artur Sinila <opensource@logarithmus.dev>"
license="GPL-3.0-only"
homepage="https://sourceforge.net/projects/simutron/"
nostrip_files="LCD20x4Test.elf"

do_fetch() {
	svn checkout "https://svn.code.sf.net/p/${pkgname}/code/branches/RB-${version/.SR/-SR}" "$wrksrc"
}

post_extract() {
	rm share/simutron/examples/MENWIZ/LCD20x4Test/bin/Debug/LCD20x4Test.elf
	rm share/simutron/examples/MENWIZ/LCD20x4Test/bin/Release/LCD20x4Test.elf
}