void-packages/srcpkgs/jc/template

23 lines
772 B
Bash

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