void-packages/srcpkgs/etcetera/template

27 lines
875 B
Bash

# Template file for 'etcetera'
pkgname=etcetera
version=0.6
revision=1
noarch=yes
wrksrc="etcetera-v${version}"
pycompile_dirs="/usr/lib/etcetera"
depends="python3"
short_desc="Config file management with a touch of wisdom"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/jeancf/etcetera"
distfiles="https://gitlab.com/jeancf/etcetera/-/archive/v${version}/etcetera-v${version}.tar.gz"
checksum=09f4109e6b8b99e91e2b257794b2e15284cdc6310fe4843a6533b318f474771d
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
}