diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/bullet | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/bullet')
-rw-r--r-- | community/bullet/PKGBUILD | 74 | ||||
-rw-r--r-- | community/bullet/bullet.pc | 11 |
2 files changed, 0 insertions, 85 deletions
diff --git a/community/bullet/PKGBUILD b/community/bullet/PKGBUILD deleted file mode 100644 index 8f52b48c5..000000000 --- a/community/bullet/PKGBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# $Id: PKGBUILD 83395 2013-01-31 09:42:11Z svenstaro $ -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> -# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> - -pkgbase=bullet -pkgname=('bullet' 'bullet-docs') -_rev=2613 -pkgver=2.81 -pkgrel=2 -pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation" -arch=('i686' 'x86_64') -url="http://www.bulletphysics.com/Bullet/" -license=('custom:zlib') -depends=() -makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa') -source=(http://bullet.googlecode.com/files/${pkgbase}-${pkgver}-rev${_rev}.tgz - ${pkgbase}.pc) -md5sums=('cec9c9a79c2804dbf6385dd7d061346c' - 'd1da06deba3b08b884d2212f6838905c') - -build() { - cd ${pkgbase}-${pkgver}-rev${_rev} - - # get a clean build dir - [[ -d build ]] && rm -rf build - mkdir build && cd build - - # generate CMake Makefile - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=1 \ - -DBUILD_DEMOS=0 \ - -DBUILD_MULTITHREADING=1 \ - -DBUILD_EXTRAS=1 \ - -DINSTALL_LIBS=1 \ - -DINSTALL_EXTRA_LIBS=1 \ - -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version - - # compile - make - - # generate docs - cd .. - sed -i 's/GENERATE_HTMLHELP.*//g' Doxyfile - doxygen -} - -package_bullet() { - optdepends=('bullet-docs: documentation') - - cd ${pkgbase}-${pkgver}-rev${_rev}/build - - # install it - make DESTDIR=${pkgdir} install - - # manually handle pkgconfig file - mkdir -p "${pkgdir}"/usr/lib/pkgconfig - sed "s|VERSION|${pkgver}|g" ${srcdir}/bullet.pc > ${pkgdir}/usr/lib/pkgconfig/bullet.pc - - # install license - install -Dm644 ../BulletLicense.txt ${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE -} - -package_bullet-docs() { - pkgdesc="Documentation for bullet" - depends=() - - cd ${pkgbase}-${pkgver}-rev${_rev} - - # install docs - install -Dm644 Bullet_User_Manual.pdf ${pkgdir}/usr/share/doc/bullet/Bullet_User_Manual.pdf - cp -r html ${pkgdir}/usr/share/doc/bullet/html -} -# vim: sw=2 ts=2 et: diff --git a/community/bullet/bullet.pc b/community/bullet/bullet.pc deleted file mode 100644 index d236b477f..000000000 --- a/community/bullet/bullet.pc +++ /dev/null @@ -1,11 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: bullet -Description: Bullet Continuous Collision Detection and Physics Library -Requires: -Version: VERSION -Libs: -L${libdir} -lBulletDynamics -lBulletCollision -lLinearMath -lBulletSoftBody -Cflags: -I${includedir}/bullet |