void-packages/srcpkgs/qemuconf/template
2021-08-28 16:57:37 +07:00

21 lines
683 B
Bash

# Template file for 'qemuconf'
pkgname=qemuconf
version=0.2.1
revision=3
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="MIT"
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
vlicense LICENSE
vbin qemuconf_import.sh
ln -s /run/runit/supervise.qemu-generic $DESTDIR/etc/sv/qemu-generic/supervise
}