Commit 9ef14175 authored by Leo's avatar Leo Committed by Francesco Colista

testing/nlohmann-json: modernize

parent 20bc7ecd
......@@ -7,25 +7,20 @@ pkgdesc="JSON for Modern C++"
url="https://github.com/nlohmann/json"
arch="noarch"
license="MIT"
depends=""
makedepends="doxygen"
install=""
subpackages="nlohmann-json-doc"
source="nlohmann-json-$pkgver.tar.gz::https://github.com/nlohmann/json/archive/v$pkgver.tar.gz"
builddir="$srcdir/json-$pkgver"
build() {
cd "$builddir"
make -C doc
}
check() {
cd "$builddir"
if [ "$CARCH" != "s390x" ]; then make check-fast; fi
}
package() {
cd "$builddir"
mkdir -p "$pkgdir/usr/include"
mv include/nlohmann "$pkgdir/usr/include"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment