This commit is contained in:
2023-05-12 19:00:22 +03:00
parent 3288d238d8
commit 1f2eb363fc
4 changed files with 0 additions and 172 deletions

View File

@ -1,30 +0,0 @@
name='nlohmann-json'
version='3.11.2'
release='1'
desc='Header-only JSON library for Modern C++'
homepage='https://github.com/nlohmann/json'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
architectures=('amd64')
licenses='MIT'
provides=('nlohmann-json')
conflicts=('nlohmann-json')
build_deps_rosa=('cmake' 'git')
sources=("https://github.com/nlohmann/json/releases/download/v${version}/json.tar.xz")
checksums=('SKIP')
build() {
cd "${srcdir}/"
mkdir build
cd ./build
#cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF
make -j$(nproc)
}
package() {
cd "${srcdir}/build"
make "DESTDIR=${pkgdir}" install
}