jsoncpp: build with meson

- Upstream recommends meson
- cmake will depends on jsoncpp-devel
This commit is contained in:
Đoàn Trần Công Danh 2020-12-05 12:06:39 +07:00
parent 83e83fad06
commit 7e9a735ed1

View file

@ -1,10 +1,9 @@
# Template build file for 'jsoncpp'.
# Template file for 'jsoncpp'
pkgname=jsoncpp
version=1.9.4
revision=1
build_style=cmake
configure_args="-DBUILD_STATIC_LIBS=1 -DBUILD_SHARED_LIBS=1 -DJSONCPP_WITH_TESTS=0"
short_desc="A JSON implementation in C++"
revision=2
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"
@ -23,7 +22,6 @@ jsoncpp-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}