# Contributor: Bradley J Chambers # Maintainer: Bradley J Chambers pkgname=laszip pkgver=3.1.0 pkgrel=0 pkgdesc="LASzip point cloud compression library" url="https://github.com/laszip/laszip" arch="all" license="LGPL2+" options="!check" makedepends="cmake" install="" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/LASzip/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/LASzip-"$pkgver" build() { cd "$builddir" mkdir build && cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "$builddir"/build make DESTDIR="$pkgdir" install } sha512sums="910560e0b7201d4827b934d704acec5e3682f46b2532bc85896b210e787d79970986ceaaf96241e13db7ddcaa16fa63652b31bb75d285a7f768a6efd06374674 laszip-3.1.0.tar.gz"