2012-08-11 17:16:46 +08:00
|
|
|
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
|
2013-11-25 20:12:51 +08:00
|
|
|
# Contributions from Arch:https://aur.archlinux.org/packages/libspatialite/
|
|
|
|
|
2012-08-11 17:16:46 +08:00
|
|
|
pkgname=libspatialite
|
2013-11-25 20:12:51 +08:00
|
|
|
pkgver=4.1.1
|
2012-08-11 17:16:46 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="SQLite extension to support spatial data types and operations"
|
2013-11-25 20:12:51 +08:00
|
|
|
arch=('x86_64')
|
2012-08-11 17:16:46 +08:00
|
|
|
url="https://www.gaia-gis.it/fossil/libspatialite/index"
|
|
|
|
license=('MPL')
|
|
|
|
depends=('geos' 'proj' 'sqlite3' 'libfreexl')
|
|
|
|
options=('!libtool')
|
2013-11-25 20:12:51 +08:00
|
|
|
source=("http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz")
|
|
|
|
md5sums=('356e0b18de0d382e27da578dc227a7b0')
|
2012-08-11 17:16:46 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
# we need to disable geosadvanced, because geos is outdated (needs >=3.3.0)
|
|
|
|
./configure --prefix=/usr --disable-geosadvanced
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|
|
|
|
|