mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 11:14:48 +02:00
27 lines
810 B
Text
27 lines
810 B
Text
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
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 samurai"
|
|
subpackages="$pkgname-dev"
|
|
source="https://github.com/LASzip/laszip/archive/$pkgver/laszip-$pkgver.tar.gz"
|
|
builddir="$srcdir/LASzip-$pkgver"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-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"
|