source
This commit is contained in:
parent
fd929e6418
commit
ae72df6ad1
@ -1,5 +1,5 @@
|
||||
name='nlohmann-json'
|
||||
version='3.7.3'
|
||||
version='3.11.2'
|
||||
release='1'
|
||||
desc='Header-only JSON library for Modern C++'
|
||||
homepage='https://github.com/nlohmann/json'
|
||||
@ -11,12 +11,12 @@ conflicts=('nlohmann-json')
|
||||
|
||||
build_deps_rosa=('cmake' 'git')
|
||||
|
||||
sources=("git+https://github.com/nlohmann/json.git")
|
||||
sources=("https://github.com/nlohmann/json/releases/download/v${version}/json.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${name}-${version}"
|
||||
cd "${srcdir}/json-${version}"
|
||||
mkdir build
|
||||
cd ./build
|
||||
cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF
|
||||
@ -25,6 +25,6 @@ build() {
|
||||
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${name}-${version}/build"
|
||||
cd "${srcdir}/json-${version}/build"
|
||||
make "DESTDIR=$pkgdir" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user