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 @@
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.2.15 pkgver = 0.3.0
pkgrel = 1 pkgrel = 1
url = https://github.com/Stiffstream/json_dto url = https://github.com/Stiffstream/json_dto
arch = any arch = any
@@ -8,7 +8,7 @@ pkgbase = json_dto
checkdepends = catch2 checkdepends = catch2
makedepends = cmake makedepends = cmake
depends = rapidjson depends = rapidjson
source = json_dto-0.2.15.tar.gz::https://github.com/Stiffstream/json_dto/archive/v.0.2.15.tar.gz source = json_dto-0.3.0.tar.gz::https://github.com/Stiffstream/json_dto/archive/v.0.3.0.tar.gz
sha256sums = d7631d21785ddddc81b2fe04a7998d0d49323c2224168568cb80cc32093da3ac sha256sums = cd497c9ee5556c45aaa3402a23ab935e6a90c1e62076562efd0708d1ec8f4c30
pkgname = json_dto pkgname = json_dto

View File

@@ -1,6 +1,6 @@
# Maintainer: Bert Peters <bert@bertptrs.nl> # Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=json_dto pkgname=json_dto
pkgver=0.2.15 pkgver=0.3.0
pkgrel=1 pkgrel=1
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)
@@ -10,18 +10,18 @@ depends=(rapidjson)
makedepends=(cmake) makedepends=(cmake)
checkdepends=(catch2) checkdepends=(catch2)
source=("$pkgname-$pkgver.tar.gz::https://github.com/Stiffstream/$pkgname/archive/v.$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::https://github.com/Stiffstream/$pkgname/archive/v.$pkgver.tar.gz")
sha256sums=('d7631d21785ddddc81b2fe04a7998d0d49323c2224168568cb80cc32093da3ac') sha256sums=('cd497c9ee5556c45aaa3402a23ab935e6a90c1e62076562efd0708d1ec8f4c30')
build() { 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_FIND_DEPS=On -Wno-dev -DJSON_DTO_FIND_DEPS=On -Wno-dev
make make
} }
check() { check() {
cd "$pkgname-v.$pkgver" cd "$pkgname-v.$pkgver"
cmake dev -DJSON_DTO_TEST=On
make make
make test make test
} }