# Maintainer: Bert Peters pkgname=simdjson pkgver=0.9.5 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=('db69582fc5e4ece8c0a6a64894efeef475fe22fe466bd67195422de11b08b4d2') build() { cd "$pkgname-$pkgver" cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DSIMDJSON_JUST_LIBRARY=On make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }