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

upgpkg: json_dto 0.3.0-1

upstream release
This commit is contained in:
2021-12-13 20:51:19 +01:00
parent b07d340aab
commit d1ba1566b2
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=json_dto
pkgver=0.2.15
pkgver=0.3.0
pkgrel=1
pkgdesc="A small header-only library for converting data between json representation and c++ structs"
arch=(any)
@@ -10,18 +10,18 @@ depends=(rapidjson)
makedepends=(cmake)
checkdepends=(catch2)
source=("$pkgname-$pkgver.tar.gz::https://github.com/Stiffstream/$pkgname/archive/v.$pkgver.tar.gz")
sha256sums=('d7631d21785ddddc81b2fe04a7998d0d49323c2224168568cb80cc32093da3ac')
sha256sums=('cd497c9ee5556c45aaa3402a23ab935e6a90c1e62076562efd0708d1ec8f4c30')
build() {
cd "$pkgname-v.$pkgver"
cmake dev -DCMAKE_INSTALL_PREFIX=/usr -DJSON_DTO_SAMPLE=Off \
-DJSON_DTO_TEST=On \
-DJSON_DTO_FIND_DEPS=On -Wno-dev
make
}
check() {
cd "$pkgname-v.$pkgver"
cmake dev -DJSON_DTO_TEST=On
make
make test
}