aboutsummaryrefslogtreecommitdiffstats
path: root/testing/laszip/APKBUILD
blob: bab0790c309ff199fc640d810ceccaf6c4727084 (plain)
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
30
31
32
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=laszip
pkgver=3.1.1
pkgrel=0
pkgdesc="LASzip point cloud compression library"
url="https://github.com/laszip/laszip"
arch="all"
license="LGPL-2.0-or-later"
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="c0738bc766b1a1d19491507bb1b104fb259683facb41a13f362ae12e2b0be7b8771ae0fee3c24e810aa0b0676fd1766c1e65b68ec7accfcb4fdba5685c422ab0  laszip-3.1.1.tar.gz"