summaryrefslogtreecommitdiff
path: root/pcr/spatialindex/PKGBUILD
blob: ac2e1122eef3b62236605afab833a5f0eabe927d (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: Lantald  <lantald at Gmx dot com>
pkgname=spatialindex
pkgver=1.8.0
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')
md5sums=('aa78e2c641c472df257f49cd140669c4'
         '6a9a7d8158edbf1529ca46aae5a76752')

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: