diff options
author | mbostwick | 2015-09-05 21:05:10 -0500 |
---|---|---|
committer | mbostwick | 2015-09-05 21:05:10 -0500 |
commit | 3eaca3bbcae7ed1db5bc9e1cb908aa95bf1d7012 (patch) | |
tree | b3da57629947cc154f7bec789a48719cb9ceb0c4 /PKGBUILD | |
download | aur-3eaca3bbcae7ed1db5bc9e1cb908aa95bf1d7012.tar.gz |
Initial Creation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..68b9383e5b2a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +pkgname=liblas +pkgver=1.8.0 +pkgrel=1 +pkgdesc="libLAS is a C/C++ library for reading and writing the very common LAS LiDAR format." +arch=('i686' 'x86_64') +url="http://www.liblas.org/" +license=('BSD') +source=(http://download.osgeo.org/liblas/libLAS-$pkgver.tar.bz2) +epends=('boost>=1.38.0' 'gdal>=1.7.0' 'libgeotiff>=1.3.0' 'laszip') +md5sums=('599881281d45db4ce9adb2d75458391e' ) + +build() { + cd "$srcdir/libLAS-$pkgver" + if [ -d makefiles ]; then + rm -rf makefiles + fi + mkdir makefiles + cd makefiles + cmake ../ -G "Unix Makefiles" \ + -DWITH_GDAL:BOOL=TRUE \ + -DWITH_GEOTIFF:BOOL=TRUE \ + -DWITH_LASZIP:BOOL=TRUE \ + -DWITH_UTILITIES:BOOL=TRUE \ + -DLASZIP_INCLUDE_DIR:PATH=/usr/include + make +} + +package() { + cd "$srcdir/libLAS-$pkgver/makefiles" + make DESTDIR="$pkgdir/" install +} + + |