Date: Saturday, March 14, 2020 @ 08:22:48 Author: arodseth Revision: 596559
upgpkg: reactphysics3d 0.7.1-2 * Apply patch from latest master that places header files in subdirectories in /usr/include/reactphysics3d * Fix a typo in the package description for the documentation package Modified: reactphysics3d/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-03-14 07:51:46 UTC (rev 596558) +++ PKGBUILD 2020-03-14 08:22:48 UTC (rev 596559) @@ -3,7 +3,7 @@ pkgbase=reactphysics3d pkgname=(reactphysics3d reactphysics3d-docs) pkgver=0.7.1 -pkgrel=1 +pkgrel=2 pkgdesc='Physics engine' arch=(x86_64) url='https://www.reactphysics3d.com' @@ -10,14 +10,19 @@ license=(ZLIB) makedepends=(cmake ninja) source=("https://github.com/DanielChappuis/reactphysics3d/releases/download/v$pkgver/reactphysics3d-$pkgver.tar.gz" - "https://www.reactphysics3d.com/documentation/manual/ReactPhysics3D-UserManual.pdf") + "https://www.reactphysics3d.com/documentation/manual/ReactPhysics3D-UserManual.pdf" + "cmake.patch::https://github.com/DanielChappuis/reactphysics3d/commit/94076513166704edafd0567b438fa52c05569e25.patch") sha256sums=('9e55cc79882120297974b331b81c55fa8e4a6802057e55c3922ed301dd83a20a' - '7c6307724bfef92f351150d522fb1a9050400f404e0a3be231946d2b633cb1bd') + '7c6307724bfef92f351150d522fb1a9050400f404e0a3be231946d2b633cb1bd' + 'c3046803795f4072a6067a24bfb1af9927bc1c71866a570390e71f04bedcf376') prepare() { # Prepare to build a shared library sed -i 's|ADD_LIBRARY(reactphysics3d|ADD_LIBRARY(reactphysics3d SHARED|g' \ "$pkgbase-$pkgver/CMakeLists.txt" + # Apply patch + cd "$pkgbase-$pkgver" + patch -p1 -i ../cmake.patch } build() { @@ -42,7 +47,7 @@ package_reactphysics3d-docs() { #arch=(any) - pkgdesc='Pystics engine (user manual)' + pkgdesc='Physics engine (user manual)' install -Dm 644 "ReactPhysics3D-UserManual.pdf" \ "$pkgdir/usr/share/doc/$pkgname/UserManual.pdf" install -Dm 644 "$pkgbase-$pkgver/LICENSE" \
