🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031
pkgname: rapidjson
pkgver: '1.1.0'
pkgrel: '4'
pkgdesc: A fast JSON parser/generator for C++ with both SAX/DOM style API
url: 'https://github.com/miloyip/rapidjson'
arch: x86_64
depends: []
makedepends:
- cmake
source:
- 'https://github.com/miloyip/${pkgname}/archive/v${pkgver}.tar.gz'
- gcc14.patch
sha256sums:
- bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
- SKIP
build: |
cd ${pkgname}-${pkgver}
patch -p1 -i ../gcc14.patch
mkdir -pv build
find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i # Don't use -Werror
cd build
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_BUILD_TYPE=Release
make
make DESTDIR=${PKGDIR} install
package: |
true