[arch-commits] Commit in bullet/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Feb 13 12:28:55 UTC 2016


    Date: Saturday, February 13, 2016 @ 13:28:55
  Author: svenstaro
Revision: 259107

upgpkg: bullet 2.83.7-1

upstream release 2.83.7

Modified:
  bullet/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-13 05:20:12 UTC (rev 259106)
+++ PKGBUILD	2016-02-13 12:28:55 UTC (rev 259107)
@@ -4,8 +4,8 @@
 
 pkgbase=bullet
 pkgname=('bullet' 'bullet-docs')
-pkgver=2.83.6
-pkgrel=2
+pkgver=2.83.7
+pkgrel=1
 pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation"
 arch=('i686' 'x86_64')
 url="http://www.bulletphysics.com/Bullet/"
@@ -13,10 +13,10 @@
 makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'glu')
 optdepends=('glu: for the example browser')
 source=("https://github.com/bulletphysics/bullet3/archive/${pkgver}.tar.gz")
-md5sums=('44cb2464336a2082b2c144194c2a2668')
+md5sums=('39fd0138fcb59047c12861f3b65c063e')
 
 build() {
-  cd ${pkgbase}3-${pkgver}
+  cd bullet3-${pkgver}
 
   [[ -d build ]] && rm -rf build
   mkdir build && cd build 
@@ -38,11 +38,13 @@
 package_bullet() {
   optdepends=('bullet-docs: documentation')
 
-  cd ${pkgbase}3-${pkgver}/build
+  cd bullet3-${pkgver}/build
 
   # install it
   make DESTDIR=${pkgdir} install
 
+  install -Dm755 examples/ExampleBrowser/App_ExampleBrowser ${pkgdir}/usr/bin/bullet3_examplebrowser
+
   # install license
   install -Dm644 ../LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE
 }
@@ -51,7 +53,7 @@
   pkgdesc="Documentation for bullet"
   depends=()
 
-  cd ${pkgbase}3-${pkgver}
+  cd bullet3-${pkgver}
 
   # install docs
   install -Dm644 docs/GPU_rigidbody_using_OpenCL.pdf ${pkgdir}/usr/share/doc/bullet/GPU_rigidbody_using_OpenCL.pdf



More information about the arch-commits mailing list