mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
33 lines
858 B
Bash
33 lines
858 B
Bash
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
|
pkgname=simdjson
|
|
pkgver=3.2.1
|
|
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=('121206c9bfe972a2202a74d4cddb8cb0561932427f96d6c4b70fb49a2a74560e')
|
|
|
|
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
|
|
}
|