void-packages/srcpkgs/qemuconf/template

20 lines
667 B
Bash

# Template file for 'qemuconf'
pkgname=qemuconf
version=0.2.1
revision=2
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.org>"
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
}