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"