Date: Sunday, July 22, 2018 @ 01:13:46 Author: svenstaro Revision: 362725
upgpkg: laszip 3.2.2-1 Modified: laszip/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-07-22 01:01:58 UTC (rev 362724) +++ PKGBUILD 2018-07-22 01:13:46 UTC (rev 362725) @@ -3,22 +3,25 @@ # Contributor: Michael <mbostwic...@gmail.com> pkgname=laszip -pkgver=2.2.0 +pkgver=3.2.2 pkgrel=1 pkgdesc='ASPRS LAS lossless compression library' arch=('x86_64') -url='http://www.laszip.org' +url='https://laszip.org' license=('LGPL') -source=("http://download.osgeo.org/laszip/${pkgname}-src-${pkgver}.tar.bz2") -sha512sums=('da523243b93296e308eff9121adf9c2a917fc934b21a92a64d192aaa5a1dfbfededc347f5d5ce7b51ea7a5eb5972dc0a5724d50bef26406b359a85c578c60ef8') +makedepends=('cmake') +source=("https://github.com/LASzip/LASzip/releases/download/${pkgver}/laszip-src-${pkgver}.tar.gz") +sha512sums=('e89707c0569c6435394a3a07ba5e6ea972d65cf793c157a698d1ec293f5477deccd613733cb544b907d6c1f13d0313f0d24ae7e5dddc426d7bdb9a7e58709cf8') build() { cd "${srcdir}/${pkgname}-src-${pkgver}" - ./configure --prefix='/usr' --includedir="/usr/include/${pkgname}" + + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. make } package() { - cd "${srcdir}/${pkgname}-src-${pkgver}" + cd "${srcdir}/${pkgname}-src-${pkgver}/build" make DESTDIR="$pkgdir" install }