1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

upgpkg: simdjson 1.0.0-1

upstream release
This commit is contained in:
2021-09-08 22:27:14 +02:00
parent c4c32cf788
commit 1e120c512d
2 changed files with 13 additions and 6 deletions

View File

@@ -1,13 +1,13 @@
pkgbase = simdjson
pkgdesc = A C++ library to see how fast we can parse JSON with complete validation.
pkgver = 0.9.7
pkgver = 1.0.0
pkgrel = 1
url = https://github.com/simdjson/simdjson
arch = x86_64
license = APACHE
makedepends = cmake
depends = gcc-libs
source = simdjson-0.9.7.tar.gz::https://github.com/simdjson/simdjson/archive/v0.9.7.tar.gz
sha256sums = a21279ae4cf0049234a822c5c3550f99ec1707d3cda12156d331dcc8cd411ba0
source = simdjson-1.0.0.tar.gz::https://github.com/simdjson/simdjson/archive/v1.0.0.tar.gz
sha256sums = fe54be1459b37e88abd438b01968144ed4774699d1272dd47a790b9362c5df42
pkgname = simdjson

View File

@@ -1,6 +1,6 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=simdjson
pkgver=0.9.7
pkgver=1.0.0
pkgrel=1
pkgdesc="A C++ library to see how fast we can parse JSON with complete validation."
arch=('x86_64')
@@ -9,14 +9,21 @@ license=('APACHE')
depends=(gcc-libs)
makedepends=(cmake)
source=("$pkgname-$pkgver.tar.gz::https://github.com/simdjson/simdjson/archive/v$pkgver.tar.gz")
sha256sums=('a21279ae4cf0049234a822c5c3550f99ec1707d3cda12156d331dcc8cd411ba0')
sha256sums=('fe54be1459b37e88abd438b01968144ed4774699d1272dd47a790b9362c5df42')
build() {
cd "$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DSIMDJSON_JUST_LIBRARY=On
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.
# check() {
# cd "$pkgname-$pkgver"
# make test
# }
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install