# Maintainer: Bert Peters pkgname=simdjson epoch=1 pkgver=3.6.4 pkgrel=1 pkgdesc="A C++ library to see how fast we can parse JSON with complete validation." arch=('x86_64') url="https://github.com/simdjson/simdjson" license=('APACHE') depends=(gcc-libs) makedepends=(cmake) source=("$pkgname-$pkgver.tar.gz::https://github.com/simdjson/simdjson/archive/v$pkgver.tar.gz") sha256sums=('7e93d5094a47180a3d451cb261ba29ac66f3f6ceb7c2a0884955e9a2bb06d818') build() { cd "$pkgname-$pkgver" cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DBUILD_SHARED_LIBS=On make } # Running tests requires enabling developer mode, which greatly increases the # required compilation, so we don't. # # Also tests refuse to compile with current GCC # check() { # cd "$pkgname-$pkgver" # make test # } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }