1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

upgpkg: json_dto 0.3.3-2

Fix license, CMake build guidelines
This commit is contained in:
2024-03-24 18:24:04 +01:00
parent 8d1b475457
commit 87b4bf3759
2 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -1,11 +1,11 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
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
}