void-packages/srcpkgs/cJSON/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

26 lines
645 B
Bash

# Template file for 'cJSON'
pkgname=cJSON
version=1.7.12
revision=1
build_style=cmake
short_desc="Ultralightweight JSON parser in ANSI C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/DaveGamble/cJSON"
distfiles="https://github.com/DaveGamble/cJSON/archive/v${version}.tar.gz"
checksum=760687665ab41a5cff9c40b1053c19572bcdaadef1194e5cba1b5e6f824686e7
post_install() {
vlicense LICENSE
}
cJSON-devel_package() {
depends="cJSON-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}