21 lines
652 B
Bash
21 lines
652 B
Bash
# Template file for 'jo'
|
|
pkgname=jo
|
|
version=1.4
|
|
revision=1
|
|
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=24c64d2eb863900947f58f32b502c95fec8f086105fd31151b91f54b7b5256a2
|
|
|
|
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/
|
|
}
|