mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 13:30:31 +01:00
upgpkg: json_dto 0.3.3-2
Fix license, CMake build guidelines
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
pkgbase = json_dto
|
pkgbase = json_dto
|
||||||
pkgdesc = A small header-only library for converting data between json representation and c++ structs
|
pkgdesc = A small header-only library for converting data between json representation and c++ structs
|
||||||
pkgver = 0.3.3
|
pkgver = 0.3.3
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/Stiffstream/json_dto
|
url = https://github.com/Stiffstream/json_dto
|
||||||
arch = any
|
arch = any
|
||||||
license = BSD
|
license = BSD-3-Clause
|
||||||
checkdepends = catch2-v2
|
checkdepends = catch2-v2
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
depends = rapidjson
|
depends = rapidjson
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
pkgname=json_dto
|
pkgname=json_dto
|
||||||
pkgver=0.3.3
|
pkgver=0.3.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A small header-only library for converting data between json representation and c++ structs"
|
pkgdesc="A small header-only library for converting data between json representation and c++ structs"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://github.com/Stiffstream/json_dto"
|
url="https://github.com/Stiffstream/json_dto"
|
||||||
license=('BSD')
|
license=('BSD-3-Clause')
|
||||||
depends=(rapidjson)
|
depends=(rapidjson)
|
||||||
makedepends=(cmake)
|
makedepends=(cmake)
|
||||||
checkdepends=(catch2-v2)
|
checkdepends=(catch2-v2)
|
||||||
@@ -16,6 +16,7 @@ build() {
|
|||||||
cd "$pkgname-v.$pkgver"
|
cd "$pkgname-v.$pkgver"
|
||||||
cmake dev -DCMAKE_INSTALL_PREFIX=/usr -DJSON_DTO_SAMPLE=Off \
|
cmake dev -DCMAKE_INSTALL_PREFIX=/usr -DJSON_DTO_SAMPLE=Off \
|
||||||
-DJSON_DTO_TEST=On \
|
-DJSON_DTO_TEST=On \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
-DJSON_DTO_FIND_DEPS=On -Wno-dev
|
-DJSON_DTO_FIND_DEPS=On -Wno-dev
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user