blob: 1af128ddde2be12210e5204e4fdaaf21efd8dab0 (
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
33
34
|
# Maintainer: Adrian Holfter < aholfter PLUS aur AT googlemail DOT com >
pkgname=lastools-git
pkgver=2.0.3.r95.g11ae4c9
pkgrel=1
pkgdesc='Efficient tools for LiDAR processing. Contains LASlib, a C++ programming API for reading / writing LIDAR data stored in standard LAS format'
arch=('i686' 'x86_64')
url='https://lastools.org/'
license=('LGPL')
makedepends=('git' 'cmake')
depends=('gcc-libs')
provides=('laslib' 'lastools')
conflicts=('laslib' 'lastools')
source=('git+https://github.com/LAStools/LAStools.git')
sha256sums=('SKIP')
pkgver() {
cd LAStools
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake \
-B build \
-S LAStools \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|