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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Apr 8 21:20:21 UTC 2016


    Date: Friday, April 8, 2016 @ 23:20:20
  Author: svenstaro
Revision: 169785

upgpkg: openvdb 3.1.0-3

Fix paths

Modified:
  openvdb/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-08 20:31:49 UTC (rev 169784)
+++ PKGBUILD	2016-04-08 21:20:20 UTC (rev 169785)
@@ -7,7 +7,7 @@
 
 pkgname=openvdb
 pkgver=3.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc='A large suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids'
 url='https://github.com/dreamworksanimation/openvdb'
 arch=('i686' 'x86_64')
@@ -21,7 +21,7 @@
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
 
-  make \
+  make all \
     PYTHON_VERSION='2.7' \
     CPPUNIT_INCL_DIR='' \
     HDSO='/usr' \
@@ -33,26 +33,16 @@
     GLFW_INCL_DIR='' \
     BOOST_PYTHON_LIB_DIR=/usr/lib \
     BOOST_PYTHON_LIB=-lboost_python
+
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
 
-  make DESTDIR=${pkgdir} install \
-    PYTHON_VERSION='2.7' \
-    CPPUNIT_INCL_DIR='' \
-    HDSO='/usr' \
-    PYTHON_INCL_DIR=/usr/include/python2.7 \
-    PYTHON_LIB_DIR=/usr/lib \
-    EXR_LIB_DIR=/usr/lib \
-    ILMBASE_LIB_DIR=/usr/lib \
-    NUMPY_INCL_DIR=/usr/lib/python2.7/site-packages/numpy/core/include/numpy \
+  mkdir ${pkgdir}/usr
+  make install \
     GLFW_INCL_DIR='' \
-    BOOST_PYTHON_LIB_DIR=/usr/lib \
-    BOOST_PYTHON_LIB=-lboost_python
-
-  mkdir ${pkgdir}/usr
-  mv ${pkgdir}/{bin,lib} ${pkgdir}/usr
+    DESTDIR=${pkgdir}/usr
 }
 
 # vim:set sw=2 sts=2 et:



More information about the arch-commits mailing list