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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed May 17 02:05:08 UTC 2017


    Date: Wednesday, May 17, 2017 @ 02:04:40
  Author: svenstaro
Revision: 228347

upgpkg: pdal 1.5.0-1

Modified:
  pdal/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-17 01:40:56 UTC (rev 228346)
+++ PKGBUILD	2017-05-17 02:04:40 UTC (rev 228347)
@@ -4,11 +4,14 @@
 pkgver=1.5.0
 pkgrel=1
 pkgdesc="A C++ library for translating and manipulating point cloud data"
-arch=('any')
+arch=('i686' 'x86_64')
 url="http://www.pdal.io"
 license=('BSD')
-depends=('gdal' 'libgeotiff')
-makedepends=('cmake')
+depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp')
+makedepends=('cmake' 'python' 'python-numpy' 'laz-perf')
+optdepends=('python-numpy: for the Python plugin'
+            'sqlite: for the sqlite plugin'
+            'postgresql-libs: for the postgresql plugin')
 provides=('pdal')
 source=("http://download.osgeo.org/pdal/PDAL-$pkgver-src.tar.gz")
 sha512sums=('40aa3ef21d8ee25ab26b532e2d934bdc4557268d33b8d93d1717cd2c9ab9d17435381c479d1623c4df52ea31b6aa55168a8a6e7171d5da1f8eda116191bb5b74')
@@ -22,7 +25,14 @@
 build() {
     cd "PDAL-$pkgver-src/build"
 
-    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+    cmake .. \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DBUILD_PLUGIN_PYTHON=ON \
+        -DBUILD_PLUGIN_PGPOINTCLOUD=ON \
+        -DBUILD_PLUGIN_SQLITE=ON \
+        -DWITH_LAZPERF=ON \
+        -DWITH_LASZIP=ON \
+        -DWITH_COMPLETION=ON
 
     make
 }
@@ -32,6 +42,6 @@
 
     make DESTDIR="$pkgdir/" install
 
-    cd "$srcdir/$_pkgname-$pkgver-src"
+    cd "$srcdir/PDAL-$pkgver-src"
     install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list