1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-26 13:00:32 +01:00
Files
aur/PKGBUILD
2020-06-30 08:06:45 +02:00

24 lines
638 B
Bash

# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=simdjson
pkgver=0.4.3
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=('8ae54d32e84c5a7d45183bab5817a0d62d9b6e5a2a89c20d9d07475f5429d0b3')
build() {
cd "$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DSIMDJSON_JUST_LIBRARY=On
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}