diff options
author | Martchus | 2023-06-06 18:30:58 +0200 |
---|---|---|
committer | Martchus | 2023-06-06 18:30:58 +0200 |
commit | e04eaaa154e009b3c1f60adf295a4e0f6aa8c3d5 (patch) | |
tree | 719b2531bc5613462c602904ce0f91db8f33c05b | |
parent | 70353bd0920bf83902bcb2a408c9f4c1b3fc70d3 (diff) | |
download | aur-e04eaaa154e009b3c1f60adf295a4e0f6aa8c3d5.tar.gz |
Update version
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-reflective-rapidjson pkgdesc = Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON (mingw-w64) pkgver = 0.0.15 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Martchus/reflective-rapidjson arch = any license = GPL @@ -22,6 +22,8 @@ pkgbase = mingw-w64-reflective-rapidjson options = !strip options = !emptydirs source = reflective-rapidjson-0.0.15.tar.gz::https://github.com/Martchus/reflective-rapidjson/archive/v0.0.15.tar.gz + source = https://github.com/Martchus/reflective-rapidjson/commit/7c8ef68155724417066bfaf694ce26834251a62e.patch sha256sums = 1e253ca0c63c6432ede1b1d7ad6c828b93eeb47eb1843d7bdc09445be7c1bba6 + sha256sums = SKIP pkgname = mingw-w64-reflective-rapidjson @@ -7,7 +7,7 @@ _reponame=reflective-rapidjson pkgname=mingw-w64-reflective-rapidjson _name=${pkgname#mingw-w64-} pkgver=0.0.15 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON (mingw-w64)' license=('GPL') @@ -17,8 +17,9 @@ optdepends=("mingw-w64-boost: use Boost.Hana instead of code generator" checkdepends=('mingw-w64-cppunit' 'mingw-w64-wine' 'mingw-w64-boost') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'ninja') url="https://github.com/Martchus/${_reponame}" -source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('1e253ca0c63c6432ede1b1d7ad6c828b93eeb47eb1843d7bdc09445be7c1bba6') +source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz" + https://github.com/Martchus/reflective-rapidjson/commit/7c8ef68155724417066bfaf694ce26834251a62e.patch) +sha256sums=('1e253ca0c63c6432ede1b1d7ad6c828b93eeb47eb1843d7bdc09445be7c1bba6' SKIP) options=(!buildflags staticlibs !strip !emptydirs) _architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') @@ -26,6 +27,11 @@ _configurations=() [[ $NO_SHARED_LIBS ]] || _configurations+=('shared') [[ $NO_STATIC_LIBS ]] || _configurations+=('static') +prepare() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + patch -p1 -i ../7c8ef68155724417066bfaf694ce26834251a62e.patch +} + build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" |