mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +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>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - -DBUILD_BULLET2_DEMOS=OFF, -DBUILD_UNIT_TESTS=OFF
|
||||
|
||||
pkgbase=bullet
|
||||
pkgname=('bullet' 'bullet-docs')
|
||||
pkgname=('bullet' 'bullet-docs' 'python-pybullet')
|
||||
pkgver=2.88
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation"
|
||||
arch=('x86_64')
|
||||
url="http://www.bulletphysics.com/Bullet/"
|
||||
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"
|
||||
bullet3_examplebrowser.sh)
|
||||
sha512sums=('15face1940d496c96fd19a44139d11d2cbb629526c40432be4a0eef5fa9a532c842ec7318248c0359a080f2034111bf1a3c2d3a6fd789bec675bd368fac7bd93'
|
||||
|
@ -39,6 +39,7 @@ build() {
|
|||
make
|
||||
|
||||
cd ..
|
||||
python setup.py build
|
||||
doxygen
|
||||
}
|
||||
|
||||
|
@ -64,6 +65,15 @@ package_bullet() {
|
|||
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() {
|
||||
pkgdesc="Documentation for bullet"
|
||||
|
||||
|
|
Loading…
Reference in a new issue