# Maintainer: Bert Peters pkgname=simdjson pkgver=1.0.2 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=('46d5995488de76ae61f1c3bcff445a9085c8d34f6cbc9bf0422a99c6d98a002c') 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. # check() { # cd "$pkgname-$pkgver" # make test # } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }