22 lines
652 B
Bash
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/
|
|
}
|