mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
Initial packaging.
This commit is contained in:
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
@@ -0,0 +1,14 @@
|
||||
pkgbase = simdjson
|
||||
pkgdesc = A C++ library to see how fast we can parse JSON with complete validation.
|
||||
pkgver = 0.2.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/lemire/simdjson
|
||||
arch = x86_64
|
||||
license = APACHE
|
||||
makedepends = cmake
|
||||
depends = gcc-libs
|
||||
source = simdjson-0.2.1.tar.gz::https://github.com/lemire/simdjson/archive/v0.2.1.tar.gz
|
||||
sha256sums = 361ad30048005421073b284e6e0c1dcfe46daeecca32e6b5a5a5e7e31df1fdb5
|
||||
|
||||
pkgname = simdjson
|
||||
|
||||
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||
pkgname=simdjson
|
||||
pkgver=0.2.1
|
||||
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=('361ad30048005421073b284e6e0c1dcfe46daeecca32e6b5a5a5e7e31df1fdb5')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cmake . -DCMAKE_INSTALL_PREFIX="/usr/"
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
||||
Reference in New Issue
Block a user