shfmt
This commit is contained in:
@ -13,7 +13,6 @@ build_deps_rosa=('cmake' 'git')
|
||||
sources=("git+https://github.com/nlohmann/json.git#tag=v${version}")
|
||||
checksums=('SKIP')
|
||||
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
mkdir build
|
||||
@ -22,7 +21,6 @@ build() {
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/build"
|
||||
cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
|
||||
@ -30,7 +28,6 @@ check() {
|
||||
ctest --output-on-failure
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build"
|
||||
make "DESTDIR=${pkgdir}" install
|
||||
|
Reference in New Issue
Block a user