void-packages/srcpkgs/etcetera/template
Alessio Sergi b99e7532d8 etcetera: add missing pycompile_version
Fix absolute path in pycompile_dirs.
2018-10-18 18:40:53 +02:00

26 lines
872 B
Bash

# 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="cr6git <quark6@protonmail.com>"
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
}