void-packages/srcpkgs/jo/template
q66 a79ded1977 jo: remove pandoc dependency
This is only used to regenerate manpages and is not needed for
a release as jo.1 and jo.md are in sync.

By introducing pandoc this breaks build on every platform that
does not have ghc available.
2020-06-01 18:14:00 +02:00

22 lines
652 B
Bash

# Template file for 'jo'
pkgname=jo
version=1.3
revision=2
build_style=gnu-configure
hostmakedepends="automake 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"
distfiles="https://github.com/jpmens/jo/releases/download/${version}/jo-${version}.tar.gz"
checksum=de25c95671a3b392c6bcaba0b15d48eb8e2435508008c29477982d2d2f5ade64
pre_configure() {
autoreconf -fi
}
post_install() {
vmkdir usr/share/bash-completion/completions
mv "${DESTDIR}"/etc/bash_completion.d/*.bash "${DESTDIR}"/usr/share/bash-completion/completions/
}