void-packages/srcpkgs/jc/template

23 lines
772 B
Bash

# Template file for 'jc'
pkgname=jc
version=1.22.4
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=6d64102677ae285a2abedd33aa65c2198a533ef1d5320f2e9a9d70c774a51783
post_install() {
vman man/jc.1
vlicense LICENSE.md
vcompletion completions/jc_bash_completion.sh bash
vcompletion completions/jc_zsh_completion.sh zsh
}