1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-27 13:30:31 +01:00

Add 'simdjson/' from commit '794a2f8a23b2e2944712fbaa928b4a6e10ea4d77'

git-subtree-dir: simdjson
git-subtree-mainline: c82566ff2b
git-subtree-split: 794a2f8a23
This commit is contained in:
2021-06-17 16:02:56 +02:00
2 changed files with 36 additions and 0 deletions

23
simdjson/PKGBUILD Normal file
View File

@@ -0,0 +1,23 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
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
}