From 87b4bf3759697f9c386730c85f7f311c36bf127b Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Sun, 24 Mar 2024 18:24:04 +0100 Subject: [PATCH] upgpkg: json_dto 0.3.3-2 Fix license, CMake build guidelines --- json_dto/.SRCINFO | 4 ++-- json_dto/PKGBUILD | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/json_dto/.SRCINFO b/json_dto/.SRCINFO index 45566f2..6ef74fd 100644 --- a/json_dto/.SRCINFO +++ b/json_dto/.SRCINFO @@ -1,10 +1,10 @@ pkgbase = json_dto pkgdesc = A small header-only library for converting data between json representation and c++ structs pkgver = 0.3.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Stiffstream/json_dto arch = any - license = BSD + license = BSD-3-Clause checkdepends = catch2-v2 makedepends = cmake depends = rapidjson diff --git a/json_dto/PKGBUILD b/json_dto/PKGBUILD index 7331a15..7e76ce1 100644 --- a/json_dto/PKGBUILD +++ b/json_dto/PKGBUILD @@ -1,11 +1,11 @@ # Maintainer: Bert Peters pkgname=json_dto pkgver=0.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="A small header-only library for converting data between json representation and c++ structs" arch=(any) url="https://github.com/Stiffstream/json_dto" -license=('BSD') +license=('BSD-3-Clause') depends=(rapidjson) makedepends=(cmake) checkdepends=(catch2-v2) @@ -16,6 +16,7 @@ build() { cd "$pkgname-v.$pkgver" cmake dev -DCMAKE_INSTALL_PREFIX=/usr -DJSON_DTO_SAMPLE=Off \ -DJSON_DTO_TEST=On \ + -DCMAKE_BUILD_TYPE=None \ -DJSON_DTO_FIND_DEPS=On -Wno-dev make }