# Template file for 'qemuconf'
pkgname=qemuconf
version=0.2.1
revision=1
build_style=gnu-makefile
make_install_target="install-runit"
conf_files="/etc/qemu.d/generic.conf"
depends="qemu"
short_desc="simple qemu launcher with config file support"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/Gottox/qemuconf"
distfiles="https://github.com/Gottox/qemuconf/archive/v${version}.tar.gz"
checksum=8b57872e6f7d281e7ed7d142ff05efb50e2fbe2c46e656a30fbb1705b4382548

post_install() {
	vinstall generic.conf 644 etc/qemu.d
	vbin qemuconf_import.sh
	ln -s /run/runit/supervise.qemu-generic $DESTDIR/etc/sv/qemu-generic/supervise
}
