forked from Plemya-x/alr-repo
		
	source
This commit is contained in:
		| @@ -1,5 +1,5 @@ | |||||||
| name='nlohmann-json' | name='nlohmann-json' | ||||||
| version='3.7.3' | version='3.11.2' | ||||||
| release='1' | release='1' | ||||||
| desc='Header-only JSON library for Modern C++' | desc='Header-only JSON library for Modern C++' | ||||||
| homepage='https://github.com/nlohmann/json' | homepage='https://github.com/nlohmann/json' | ||||||
| @@ -11,12 +11,12 @@ conflicts=('nlohmann-json') | |||||||
|  |  | ||||||
| build_deps_rosa=('cmake' 'git') | 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') | checksums=('SKIP') | ||||||
|  |  | ||||||
|  |  | ||||||
| build() { | build() { | ||||||
| 	cd "${srcdir}/${name}-${version}" | 	cd "${srcdir}/json-${version}" | ||||||
| 	mkdir build | 	mkdir build | ||||||
| 	cd ./build | 	cd ./build | ||||||
| 	cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF | 	cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF | ||||||
| @@ -25,6 +25,6 @@ build() { | |||||||
|  |  | ||||||
|  |  | ||||||
| package() { | package() { | ||||||
| 	cd "${srcdir}/${name}-${version}/build" | 	cd "${srcdir}/json-${version}/build" | ||||||
| 	make "DESTDIR=$pkgdir" install | 	make "DESTDIR=$pkgdir" install | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user