diff --git a/simdjson/.SRCINFO b/simdjson/.SRCINFO new file mode 100644 index 0000000..9a4f125 --- /dev/null +++ b/simdjson/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = simdjson + pkgdesc = A C++ library to see how fast we can parse JSON with complete validation. + pkgver = 0.9.6 + pkgrel = 1 + url = https://github.com/simdjson/simdjson + arch = x86_64 + license = APACHE + makedepends = cmake + depends = gcc-libs + source = simdjson-0.9.6.tar.gz::https://github.com/simdjson/simdjson/archive/v0.9.6.tar.gz + sha256sums = ffca979ad1f0255048db3054942788efa21f05d8f3ad8faa5aeb61e731e13d6f + +pkgname = simdjson diff --git a/simdjson/PKGBUILD b/simdjson/PKGBUILD new file mode 100644 index 0000000..36ec2bb --- /dev/null +++ b/simdjson/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Bert Peters +pkgname=simdjson +pkgver=0.9.6 +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=('ffca979ad1f0255048db3054942788efa21f05d8f3ad8faa5aeb61e731e13d6f') + +build() { + cd "$pkgname-$pkgver" + cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DSIMDJSON_JUST_LIBRARY=On + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +}