mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/bullet to 2.88-3
This commit is contained in:
parent
e6ffb9f5a5
commit
29743ed1a6
1 changed files with 14 additions and 4 deletions
|
@ -1,18 +1,18 @@
|
||||||
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
|
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
|
||||||
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
|
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - -DBUILD_BULLET2_DEMOS=OFF, -DBUILD_UNIT_TESTS=OFF
|
# - -DBUILD_BULLET2_DEMOS=OFF, -DBUILD_UNIT_TESTS=OFF
|
||||||
|
|
||||||
pkgbase=bullet
|
pkgbase=bullet
|
||||||
pkgname=('bullet' 'bullet-docs')
|
pkgname=('bullet' 'bullet-docs' 'python-pybullet')
|
||||||
pkgver=2.88
|
pkgver=2.88
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation"
|
pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.bulletphysics.com/Bullet/"
|
url="http://www.bulletphysics.com/Bullet/"
|
||||||
license=('custom:zlib')
|
license=('custom:zlib')
|
||||||
makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'glu' 'python' 'python-numpy')
|
makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'glu' 'python' 'python-numpy' 'python-setuptools')
|
||||||
source=("https://github.com/bulletphysics/bullet3/archive/${pkgver}.tar.gz"
|
source=("https://github.com/bulletphysics/bullet3/archive/${pkgver}.tar.gz"
|
||||||
bullet3_examplebrowser.sh)
|
bullet3_examplebrowser.sh)
|
||||||
sha512sums=('15face1940d496c96fd19a44139d11d2cbb629526c40432be4a0eef5fa9a532c842ec7318248c0359a080f2034111bf1a3c2d3a6fd789bec675bd368fac7bd93'
|
sha512sums=('15face1940d496c96fd19a44139d11d2cbb629526c40432be4a0eef5fa9a532c842ec7318248c0359a080f2034111bf1a3c2d3a6fd789bec675bd368fac7bd93'
|
||||||
|
@ -39,6 +39,7 @@ build() {
|
||||||
make
|
make
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
python setup.py build
|
||||||
doxygen
|
doxygen
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,6 +65,15 @@ package_bullet() {
|
||||||
install -Dm644 ../LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE
|
install -Dm644 ../LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package_python-pybullet() {
|
||||||
|
pkgdesc="Bullet Python bindings"
|
||||||
|
depends+=('bullet')
|
||||||
|
|
||||||
|
cd bullet3-${pkgver}
|
||||||
|
|
||||||
|
python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
|
||||||
|
}
|
||||||
|
|
||||||
package_bullet-docs() {
|
package_bullet-docs() {
|
||||||
pkgdesc="Documentation for bullet"
|
pkgdesc="Documentation for bullet"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue