diff --git a/srcpkgs/qemuconf/template b/srcpkgs/qemuconf/template new file mode 100644 index 00000000000..5da97d2344b --- /dev/null +++ b/srcpkgs/qemuconf/template @@ -0,0 +1,19 @@ +# Template file for 'qemuconf' +pkgname=qemuconf +version=0.1.3 +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 " +license="GPL-3" +homepage="https://github.com/Gottox/qemuconf" +distfiles="https://github.com/Gottox/qemuconf/archive/v${version}.tar.gz" +checksum=2c900b1bdc2d44743ef0ab747acc34b5c36ebcbefa8524bded8181481d63efd4 + +post_install() { + vinstall generic.conf 644 etc/qemu.d + ln -s /run/runit/supervise.qemu-generic $DESTDIR/etc/sv/qemu-generic/supervise +}