aboutsummaryrefslogtreecommitdiffstats
path: root/testing/laszip/APKBUILD
blob: 1465238e2b60822a3782cab9cdd3e29346ae0036 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=laszip
pkgver=3.4.3
pkgrel=1
pkgdesc="LASzip point cloud compression library"
url="https://github.com/laszip/laszip"
arch="all"
license="LGPL-2.0-or-later"
options="!check"
makedepends="cmake"
subpackages="$pkgname-dev"
source="laszip-$pkgver.tar.gz::https://github.com/LASzip/laszip/archive/$pkgver.tar.gz"
builddir="$srcdir"/LASzip-"$pkgver"

build() {
	mkdir build && cd build
	cmake .. \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=None
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="e99d03b7383d07d35463c9d1643787ec5030722d80798b4d9eb2a7935d3181ea6485e298589023814c21fc89851dd7c5232a65b4c9041ccccf1450b80d293268  laszip-3.4.3.tar.gz"