mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
24 lines
642 B
Bash
24 lines
642 B
Bash
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
|
pkgname=simdjson
|
|
pkgver=0.9.7
|
|
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=('a21279ae4cf0049234a822c5c3550f99ec1707d3cda12156d331dcc8cd411ba0')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DSIMDJSON_JUST_LIBRARY=On
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|