From 4b1cd4dd18f3bf2b92af4822811e587a5dfacce2 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 10 Sep 2022 05:08:53 +0000 Subject: [PATCH] community/blender to 3.3.0-2 --- community/blender/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/community/blender/PKGBUILD b/community/blender/PKGBUILD index f75303f23..ad32b9433 100644 --- a/community/blender/PKGBUILD +++ b/community/blender/PKGBUILD @@ -15,7 +15,7 @@ buildarch=8 pkgname=blender pkgver=3.3.0 -pkgrel=1 +pkgrel=2 epoch=17 pkgdesc="A fully integrated 3D graphics creation suite" arch=('x86_64') @@ -70,7 +70,7 @@ build() { -Bbuild \ -GNinja \ -Cbuild_files/cmake/config/blender_release.cmake \ - -DOPTIX_ROOT_DIR="$srcdir"/include \ + -DOPTIX_ROOT_DIR="$srcdir" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DWITH_INSTALL_PORTABLE=OFF \ @@ -81,13 +81,13 @@ build() { -DPYTHON_LIBRARY=python$PYTHON_VER \ -DPYTHON_INCLUDE_DIRS=/usr/include/python$PYTHON_VER \ -DCMAKE_CXX_FLAGS="-I /usr/include/python$PYTHON_VER" - ninja -C build + cmake --build build } package() { cd "$pkgname" - DESTDIR="${pkgdir}" ninja -C build install + DESTDIR="${pkgdir}" cmake --install build install -Dm755 release/bin/blender-softwaregl "${pkgdir}/usr/bin/blender-softwaregl" python -m compileall "${pkgdir}/usr/share/blender" python -O -m compileall "${pkgdir}/usr/share/blender"