void-packages/srcpkgs/jsoncpp/template

26 lines
661 B
Bash

# Template file for 'jsoncpp'
pkgname=jsoncpp
version=1.9.5
revision=1
build_style=meson
short_desc="JSON implementation in C++"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain, MIT"
homepage="https://github.com/open-source-parsers/jsoncpp"
distfiles="https://github.com/open-source-parsers/${pkgname}/archive/${version}.tar.gz"
checksum=f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2
post_install() {
vlicense LICENSE
}
jsoncpp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}