void-packages/srcpkgs/jc/template

23 lines
772 B
Bash

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