void-packages/srcpkgs/jc/template

23 lines
772 B
Bash

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