mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/bullet: fix
This commit is contained in:
parent
3ce1c7c84d
commit
5b7fe7d88d
1 changed files with 10 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - -DBUILD_BULLET2_DEMOS=OFF, -DBUILD_UNIT_TESTS=OFF
|
||||
# - -DBUILD_BULLET2_DEMOS=OFF, -DBUILD_UNIT_TESTS=OFF, -DBUILD_EXTRAS=OFF
|
||||
|
||||
pkgbase=bullet
|
||||
pkgname=('bullet' 'bullet-docs' 'python-pybullet')
|
||||
|
@ -33,6 +33,7 @@ build() {
|
|||
-DBUILD_OPENGL3_DEMOS=ON \
|
||||
-DBUILD_BULLET2_DEMOS=OFF \
|
||||
-DBUILD_UNIT_TESTS=OFF \
|
||||
-DBUILD_EXTRAS=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
ninja -C build
|
||||
|
@ -53,14 +54,14 @@ package_bullet() {
|
|||
|
||||
cd build
|
||||
|
||||
install -Dm755 examples/pybullet/pybullet.so.${pkgver} "${pkgdir}"/usr/lib/libpybullet.so.${pkgver}
|
||||
install -Dm755 examples/ExampleBrowser/libBulletExampleBrowserLib.so.${pkgver} "${pkgdir}"/usr/lib/libBulletExampleBrowserLib.so.${pkgver}
|
||||
install -Dm755 examples/OpenGLWindow/libOpenGLWindow.so "${pkgdir}"/usr/lib/libOpenGLWindow.so
|
||||
install -Dm755 examples/ThirdPartyLibs/Gwen/libgwen.so "${pkgdir}"/usr/lib/libgwen.so
|
||||
install -Dm755 examples/ThirdPartyLibs/BussIK/libBussIK.so "${pkgdir}"/usr/lib/libBussIK.so
|
||||
install -Dm755 "${srcdir}"/bullet3_examplebrowser.sh "${pkgdir}"/usr/bin/bullet3_examplebrowser
|
||||
install -Dm755 examples/ExampleBrowser/App_ExampleBrowser "${pkgdir}"/opt/bullet/App_ExampleBrowser
|
||||
cp -r data "${pkgdir}"/opt/bullet/
|
||||
#install -Dm755 examples/pybullet/pybullet.so.${pkgver} "${pkgdir}"/usr/lib/libpybullet.so.${pkgver}
|
||||
#install -Dm755 examples/ExampleBrowser/libBulletExampleBrowserLib.so.${pkgver} "${pkgdir}"/usr/lib/libBulletExampleBrowserLib.so.${pkgver}
|
||||
#install -Dm755 examples/OpenGLWindow/libOpenGLWindow.so "${pkgdir}"/usr/lib/libOpenGLWindow.so
|
||||
#install -Dm755 examples/ThirdPartyLibs/Gwen/libgwen.so "${pkgdir}"/usr/lib/libgwen.so
|
||||
#install -Dm755 examples/ThirdPartyLibs/BussIK/libBussIK.so "${pkgdir}"/usr/lib/libBussIK.so
|
||||
#install -Dm755 "${srcdir}"/bullet3_examplebrowser.sh "${pkgdir}"/usr/bin/bullet3_examplebrowser
|
||||
#install -Dm755 examples/ExampleBrowser/App_ExampleBrowser "${pkgdir}"/opt/bullet/App_ExampleBrowser
|
||||
#cp -r data "${pkgdir}"/opt/bullet/
|
||||
|
||||
install -Dm644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgbase}/LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue