# Template file for 'etcetera'
pkgname=etcetera
version=0.92
revision=2
noarch=yes
pycompile_version="$py3_ver"
pycompile_dirs="usr/lib/etcetera"
depends="python3"
short_desc="Config file management with a touch of wisdom"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/jeancf/etcetera"
distfiles="https://gitlab.com/jeancf/etcetera/-/archive/${version}/etcetera-${version}.tar.gz"
checksum=83e553454aaf56edb71e300c415523724c5e9df4e29adba3523502ed3d7bf6fe
conf_files="/etc/etcetera.conf"

do_install() {
	vbin etcetera
	vinstall commands.py 644 usr/lib/etcetera
	vinstall toolbox.py 644 usr/lib/etcetera
	vinstall term_colors.py 644 usr/lib/etcetera
	vinstall parser.py 755 usr/lib/etcetera
	vinstall README.md 644 usr/share/etcetera
	vinstall etcetera-logo.png 644 usr/share/etcetera
	vinstall etcetera.conf 644 etc
}