void-packages/srcpkgs/jc/template

23 lines
772 B
Bash

# Template file for 'jc'
pkgname=jc
version=1.23.2
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-Pygments python3-ruamel.yaml python3-xmltodict"
checkdepends="python3-pytest $depends"
short_desc="Convert to JSON"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/kellyjonbrazil/jc"
changelog="https://raw.githubusercontent.com/kellyjonbrazil/jc/master/CHANGELOG"
distfiles="https://github.com/kellyjonbrazil/jc/archive/refs/tags/v${version}.tar.gz"
checksum=d3df831ccaebb17800a7f1feb918daf5e9cf7fd81a12cced1670305aafe8a55e
post_install() {
vman man/jc.1
vlicense LICENSE.md
vcompletion completions/jc_bash_completion.sh bash
vcompletion completions/jc_zsh_completion.sh zsh
}