diff options
Diffstat (limited to 'community/bullet/PKGBUILD')
-rw-r--r-- | community/bullet/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/community/bullet/PKGBUILD b/community/bullet/PKGBUILD index 987d952af..5e24f32ea 100644 --- a/community/bullet/PKGBUILD +++ b/community/bullet/PKGBUILD @@ -1,24 +1,24 @@ -# $Id: PKGBUILD 64798 2012-02-18 05:40:50Z svenstaro $ +# $Id: PKGBUILD 68719 2012-04-01 00:16:22Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgbase=bullet pkgname=('bullet' 'bullet-docs') -pkgver=2.79 -pkgrel=2 +pkgver=2.80 +pkgrel=1 pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation" arch=('i686' 'x86_64' 'mips64el') url="http://www.bulletphysics.com/Bullet/" license=('custom:zlib') depends=('freeglut') makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu') -source=(http://bullet.googlecode.com/files/${pkgbase}-${pkgver}-rev2440.tgz \ +source=(http://bullet.googlecode.com/files/${pkgbase}-${pkgver}-rev2531.tgz ${pkgbase}.pc) -md5sums=('29d6f43964d8494f0366cd69e4883dd1' +md5sums=('d1eec0332110264a21d0fc0f2fb127c3' 'd1da06deba3b08b884d2212f6838905c') build() { - cd ${pkgbase}-${pkgver} + cd ${pkgbase}-${pkgver}-rev2531 # get a clean build dir [[ -d build ]] && rm -rf build @@ -46,11 +46,15 @@ build() { package_bullet() { optdepends=('bullet-docs: documentation') - cd ${pkgbase}-${pkgver}/build + cd ${pkgbase}-${pkgver}-rev2531/build # install it make DESTDIR=${pkgdir} install + # fix #29012 + install -Dm644 ../Extras/HACD/hacdVector.inl ${pkgdir}/usr/include/bullet/HACD/hacdVector.inl + install -Dm644 ../Extras/HACD/hacdCircularList.inl ${pkgdir}/usr/include/bullet/HACD/hacdCircularList.inl + # manually handle pkgconfig file mkdir -p "${pkgdir}"/usr/lib/pkgconfig sed "s|VERSION|${pkgver}|g" ${srcdir}/bullet.pc > ${pkgdir}/usr/lib/pkgconfig/bullet.pc @@ -63,7 +67,7 @@ package_bullet-docs() { pkgdesc="Documentation for bullet" depends=() - cd ${pkgbase}-${pkgver} + cd ${pkgbase}-${pkgver}-rev2531 # install docs install -Dm644 Bullet_User_Manual.pdf ${pkgdir}/usr/share/doc/bullet/Bullet_User_Manual.pdf |