[arch-commits] Commit in pdal/repos (2 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Nov 18 19:39:05 UTC 2017
Date: Saturday, November 18, 2017 @ 19:39:04
Author: svenstaro
Revision: 267366
archrelease: copy trunk to community-staging-x86_64
Added:
pdal/repos/community-staging-x86_64/
pdal/repos/community-staging-x86_64/PKGBUILD
(from rev 267365, pdal/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: pdal/repos/community-staging-x86_64/PKGBUILD (from rev 267365, pdal/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-11-18 19:39:04 UTC (rev 267366)
@@ -0,0 +1,49 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: SaultDon <sault.don gmail>
+pkgname=pdal
+pkgver=1.6.0
+pkgrel=2
+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')
+makedepends=('cmake' 'python' 'python-numpy' 'laz-perf' 'hexer-hobu')
+optdepends=('python-numpy: for the Python plugin'
+ 'hexer-hobu: for the hexbin 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=('2e3bb90033d2248277bae241e4c9387f175e31abfeb3951d9ccaddca8d8f4cf58606d9a6c1730c69a5a0814f708366a271a38f80359d1f0db4572f45e102bc32')
+
+prepare() {
+ cd "PDAL-$pkgver-src"
+
+ [[ -d build ]] || mkdir build
+}
+
+build() {
+ cd "PDAL-$pkgver-src/build"
+
+ cmake .. \
+ -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
+}
+
+package() {
+ cd "PDAL-$pkgver-src/build"
+
+ make DESTDIR="$pkgdir/" install
+
+ cd "$srcdir/PDAL-$pkgver-src"
+ install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list