qemuconf: fix license, other lint

This commit is contained in:
Colin Booth 2021-05-10 23:05:20 -07:00 committed by Đoàn Trần Công Danh
parent dd7bec2e1f
commit f53c6c94d5

View file

@ -1,20 +1,21 @@
# Template file for 'qemuconf' # Template file for 'qemuconf'
pkgname=qemuconf pkgname=qemuconf
version=0.2.1 version=0.2.1
revision=2 revision=3
build_style=gnu-makefile build_style=gnu-makefile
make_install_target="install-runit" make_install_target="install-runit"
conf_files="/etc/qemu.d/generic.conf" conf_files="/etc/qemu.d/generic.conf"
depends="qemu" depends="qemu"
short_desc="simple qemu launcher with config file support" short_desc="Simple qemu launcher with config file support"
maintainer="Enno Boland <gottox@voidlinux.org>" maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3" license="MIT"
homepage="https://github.com/Gottox/qemuconf" homepage="https://github.com/Gottox/qemuconf"
distfiles="https://github.com/Gottox/qemuconf/archive/v${version}.tar.gz" distfiles="https://github.com/Gottox/qemuconf/archive/v${version}.tar.gz"
checksum=8b57872e6f7d281e7ed7d142ff05efb50e2fbe2c46e656a30fbb1705b4382548 checksum=8b57872e6f7d281e7ed7d142ff05efb50e2fbe2c46e656a30fbb1705b4382548
post_install() { post_install() {
vinstall generic.conf 644 etc/qemu.d vinstall generic.conf 644 etc/qemu.d
vlicense LICENSE
vbin qemuconf_import.sh vbin qemuconf_import.sh
ln -s /run/runit/supervise.qemu-generic $DESTDIR/etc/sv/qemu-generic/supervise ln -s /run/runit/supervise.qemu-generic $DESTDIR/etc/sv/qemu-generic/supervise
} }