summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoroysstu2020-05-19 20:13:48 +0200
committeroysstu2020-05-19 20:13:48 +0200
commit457cdf9e6019d19d0bede6495ac356920d7a2d11 (patch)
treedd31c08e7b8adc950282b71737fab2cac9c5dea7 /PKGBUILD
downloadaur-457cdf9e6019d19d0bede6495ac356920d7a2d11.tar.gz
v0.1.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6bbc12f2dd3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Oystein Sture <oysstu@gmail.com>
+# Contributor:
+
+pkgname=python-pyntcloud
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Python library for working with 3D point clouds"
+arch=("any")
+license=("MIT")
+url="https://github.com/daavoo/pyntcloud"
+depends=('python' 'python-numpy' 'python-scipy' 'python-pandas')
+optdepends=('python-laspy: LAS support'
+ 'python-matplotlib: plotting support'
+ 'python-pyvista: plotting support'
+ 'ipython: plotting support'
+ 'python-numba: numba acceleration support')
+makedepends=()
+source=("https://github.com/daavoo/pyntcloud/archive/v${pkgver}.tar.gz")
+sha256sums=('728e4fbb376f608f37bc7594eddc2946d87adefb36f7c8cd10b26ce01a8abcd1')
+
+build() {
+ cd "pyntcloud-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "pyntcloud-${pkgver}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/python-pyntcloud/LICENSE.md"
+}