summaryrefslogtreecommitdiff
path: root/community/libspatialite/PKGBUILD
blob: d9d3e4dcc46f84ec6c693048a4ac9a803a796ad4 (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
# $Id: PKGBUILD 105988 2014-02-20 17:46:02Z bgyorgy $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Brian Galey <bkgaley at gmail dot com>
# Contributor: Pietro Zambelli <peter.zamb at gmail dot com>

pkgname=libspatialite
pkgver=4.1.1
pkgrel=4
pkgdesc="SQLite extension to support spatial data types and operations"
arch=('i686' 'x86_64')
url="https://www.gaia-gis.it/fossil/libspatialite"
license=('MPL' 'GPL' 'LGPL')
depends=('geos' 'libfreexl' 'libxml2' 'proj' 'sqlite3')
source=("http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz")
sha256sums=('0481a20af952f4a38c9dbb10f37fd38c45f16c50397f8da0079e02435b9b910f')

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

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}