1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00
Files
aur/simdjson/PKGBUILD
Bert Peters fdc08982e3 upgpkg: simdjson 1:3.6.4-1
Upstream did an oopsie and accidentally released the wrong version
number [1], which I had copied before it came out that this was an
accident.

Introduced epoch to fix this.

[1]: https://github.com/simdjson/simdjson/issues/2114
2024-02-03 11:40:43 +01:00

34 lines
866 B
Bash

# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=simdjson
epoch=1
pkgver=3.6.4
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=('7e93d5094a47180a3d451cb261ba29ac66f3f6ceb7c2a0884955e9a2bb06d818')
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
}