mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 13:30:31 +01:00
24 lines
638 B
Bash
24 lines
638 B
Bash
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
|
pkgname=simdjson
|
|
pkgver=0.4.0
|
|
pkgrel=1
|
|
pkgdesc="A C++ library to see how fast we can parse JSON with complete validation."
|
|
arch=('x86_64')
|
|
url="https://github.com/lemire/simdjson"
|
|
license=('APACHE')
|
|
depends=(gcc-libs)
|
|
makedepends=(cmake)
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/lemire/simdjson/archive/v$pkgver.tar.gz")
|
|
sha256sums=('4163d5acfa4f55ef0e0ec1267a5172beed4b1849e13a6b42f6231d471141bffd')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DSIMDJSON_JUST_LIBRARY=On
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|