summaryrefslogtreecommitdiff
path: root/pcr/spatialindex/PKGBUILD
blob: 6cde5eb70c7d3520d648620ee53180ef7716bfa9 (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
35
36
37
# Original Maintainer (Arch): Lantald  <lantald at Gmx dot com>
# Maintainer (Arch): Danilo <aur at dbrgn dot ch>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=spatialindex
pkgver=1.8.5
pkgrel=1
pkgdesc='An extensible framework that supports robust spatial indexing methods and sophisticated spatial queries.'
arch=('i686' 'x86_64')
url="http://libspatialindex.github.com/"
license=('MIT')
depends=(gcc-libs)
provides=(spatialindex)
conflicts=(libspatialindex-git)
source=("http://download.osgeo.org/libspatialindex/$pkgname-src-$pkgver.tar.gz"
        'LICENSE')
sha256sums=('7caa46a2cb9b40960f7bc82c3de60fa14f8f3e000b02561b36cbf2cfe6a9bfef'
            '170961cdd7754bed14e465eff7d4f22c5df11d8d104310a56a7ee3ab201bc279')

build() {
  cd "$srcdir/$pkgname-src-$pkgver/"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$srcdir/$pkgname-src-$pkgver/"
  make -k check
}

package() {
  cd "$srcdir/$pkgname-src-$pkgver/"
  make DESTDIR="$pkgdir/" install
  install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set ts=2 sw=2 et: