mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
upgpkg: simdjson 1:3.8.0-2
Fix building with correct flags, license
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
pkgbase = simdjson
|
pkgbase = simdjson
|
||||||
pkgdesc = A C++ library to see how fast we can parse JSON with complete validation.
|
pkgdesc = A C++ library to see how fast we can parse JSON with complete validation.
|
||||||
pkgver = 3.8.0
|
pkgver = 3.8.0
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
epoch = 1
|
epoch = 1
|
||||||
url = https://github.com/simdjson/simdjson
|
url = https://github.com/simdjson/simdjson
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = APACHE
|
license = Apache-2.0
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
source = simdjson-3.8.0.tar.gz::https://github.com/simdjson/simdjson/archive/v3.8.0.tar.gz
|
source = simdjson-3.8.0.tar.gz::https://github.com/simdjson/simdjson/archive/v3.8.0.tar.gz
|
||||||
|
|||||||
@@ -2,20 +2,23 @@
|
|||||||
pkgname=simdjson
|
pkgname=simdjson
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=3.8.0
|
pkgver=3.8.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A C++ library to see how fast we can parse JSON with complete validation."
|
pkgdesc="A C++ library to see how fast we can parse JSON with complete validation."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/simdjson/simdjson"
|
url="https://github.com/simdjson/simdjson"
|
||||||
license=('APACHE')
|
license=('Apache-2.0')
|
||||||
depends=(gcc-libs)
|
depends=(gcc-libs)
|
||||||
makedepends=(cmake)
|
makedepends=(cmake)
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/simdjson/simdjson/archive/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/simdjson/simdjson/archive/v$pkgver.tar.gz")
|
||||||
sha256sums=('e28e3f46f0012d405b67de6c0a75e8d8c9a612b0548cb59687822337d73ca78b')
|
sha256sums=('e28e3f46f0012d405b67de6c0a75e8d8c9a612b0548cb59687822337d73ca78b')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cmake -B build -S "$pkgname-$pkgver" \
|
||||||
cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DBUILD_SHARED_LIBS=On
|
-DBUILD_SHARED_LIBS='On' \
|
||||||
make
|
-DCMAKE_BUILD_TYPE='None' \
|
||||||
|
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||||
|
-Wno-dev
|
||||||
|
make -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
# Running tests requires enabling developer mode, which greatly increases the
|
# Running tests requires enabling developer mode, which greatly increases the
|
||||||
@@ -28,6 +31,5 @@ build() {
|
|||||||
# }
|
# }
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
make -C build DESTDIR="$pkgdir/" install
|
||||||
make DESTDIR="$pkgdir/" install
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user