Date: Friday, November 29, 2019 @ 19:23:35 Author: arojas Revision: 534524
Update to 1.9.3 Modified: spatialindex/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-29 19:13:35 UTC (rev 534523) +++ PKGBUILD 2019-11-29 19:23:35 UTC (rev 534524) @@ -3,7 +3,7 @@ # Contributor: Danilo <aur at dbrgn dot ch> pkgname=spatialindex -pkgver=1.9.0 +pkgver=1.9.3 pkgrel=1 pkgdesc='Extensible framework that supports robust spatial indexing methods and sophisticated spatial queries' arch=(x86_64) @@ -10,8 +10,8 @@ url="https://libspatialindex.github.io/" license=(MIT) depends=(gcc-libs) -makedepends=(git) -_commit=9ce9e86c27b89f17e8b10e1651edbcfc46d1d34d # tags/1.9.0 +makedepends=(git cmake) +_commit=1896a183afdff3f5845742ce3027553a88e13c3a # tags/1.9.3 source=("git+https://github.com/libspatialindex/libspatialindex#commit=$_commit") sha256sums=('SKIP') @@ -20,24 +20,20 @@ git describe --tags | sed 's/-/+/g' } -prepare() { - cd libspatialindex - NOCONFIGURE=1 ./autogen.sh -} - build() { - cd libspatialindex - ./configure --prefix=/usr + mkdir build && cd build + cmake ../libspatialindex \ + -DCMAKE_INSTALL_PREFIX=/usr make } check() { - cd libspatialindex - make -k check + cd build + make -k test } package() { - cd libspatialindex + cd build make DESTDIR="$pkgdir" install - install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -D -m644 "$srcdir"/libspatialindex/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }