# Contributor: Bradley J Chambers # Maintainer: Bart Ribbers pkgname=laszip pkgver=3.4.3 pkgrel=2 pkgdesc="LASzip point cloud compression library" url="https://github.com/laszip/laszip" arch="all" license="LGPL-2.0-or-later" options="!check" # No tests makedepends="cmake" subpackages="$pkgname-dev" source="https://github.com/LASzip/laszip/archive/$pkgver/laszip-$pkgver.tar.gz" builddir="$srcdir/LASzip-$pkgver" build() { cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=None cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums="e99d03b7383d07d35463c9d1643787ec5030722d80798b4d9eb2a7935d3181ea6485e298589023814c21fc89851dd7c5232a65b4c9041ccccf1450b80d293268 laszip-3.4.3.tar.gz"