void-packages/srcpkgs/jo/template

19 lines
647 B
Bash

# Template file for 'jo'
pkgname=jo
version=1.6
revision=1
build_style=meson
hostmakedepends="pkg-config"
short_desc="Small utility to create JSON objects"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/jpmens/jo"
changelog="https://raw.githubusercontent.com/jpmens/jo/master/ChangeLog"
distfiles="https://github.com/jpmens/jo/archive/${version}.tar.gz"
checksum=ae2837ddad9993d5e28fe8db00efec6b2378d68b7366021353a1e297b5fa2025
post_install() {
vmkdir usr/share/bash-completion/completions
mv "${DESTDIR}"/etc/bash_completion.d/*.bash "${DESTDIR}"/usr/share/bash-completion/completions/
}