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

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Apr 30 12:21:41 UTC 2020


    Date: Thursday, April 30, 2020 @ 12:21:40
  Author: svenstaro
Revision: 623301

upgpkg: pdal 2.1.0-1

Modified:
  pdal/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++-----------------
 1 file changed, 12 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-30 12:20:06 UTC (rev 623300)
+++ PKGBUILD	2020-04-30 12:21:40 UTC (rev 623301)
@@ -1,47 +1,42 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 # Contributor: SaultDon <sault.don gmail>
 pkgname=pdal
-pkgver=2.0.1
-pkgrel=3
+pkgver=2.1.0
+pkgrel=1
 pkgdesc="A C++ library for translating and manipulating point cloud data"
 arch=('x86_64')
 url="http://www.pdal.io"
 license=('BSD')
-depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu')
-makedepends=('cmake' 'python' 'python-numpy' 'laz-perf')
+depends=('gdal' 'libgeotiff' 'laszip' 'jsoncpp' 'hexer-hobu' 'libunwind')
+makedepends=('cmake' 'python' 'python-numpy' 'laz-perf' 'ninja')
 optdepends=('python-numpy: for the Python plugin'
             'sqlite: for the sqlite plugin'
             'postgresql-libs: for the postgresql plugin')
 provides=('pdal')
 source=("https://github.com/PDAL/PDAL/releases/download/${pkgver}/PDAL-${pkgver}-src.tar.gz")
-sha512sums=('6b33d957d6948a73d0db1b3b47e6b3fa0c3d6efd89e997bfd78a1f801118c68bace4efd5f7e696c9b16d6fb3ebe01d78314c3c92543f28bbc5d46a3a7d1930b4')
+sha512sums=('273e43bc02039ef56e22d6496d74c645c947dec7961024f419232b3f70ad5de030d5ee9fb74f44649016da67ff39179b06fa0d85f17a3b7db5fcce3cd0e35ac5')
 
-prepare() {
-    cd "PDAL-$pkgver-src"
-    mkdir build
-}
-
 build() {
-    cd "PDAL-$pkgver-src/build"
+    cd "PDAL-$pkgver-src/"
 
-    cmake .. \
+    cmake \
+        -B build \
+        -GNinja \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DBUILD_PLUGIN_PYTHON=ON \
         -DBUILD_PLUGIN_PGPOINTCLOUD=ON \
         -DBUILD_PLUGIN_SQLITE=ON \
-        -DBUILD_PLUGIN_HEXBIN=ON \
         -DWITH_LAZPERF=ON \
         -DWITH_LASZIP=ON \
         -DWITH_COMPLETION=ON
 
-    make
+    ninja -C build
 }
 
 package() {
-    cd "PDAL-$pkgver-src/build"
+    cd "PDAL-$pkgver-src"
 
-    make DESTDIR="$pkgdir/" install
+    DESTDIR="$pkgdir/" ninja -C build install
 
-    cd "$srcdir/PDAL-$pkgver-src"
     install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list