summaryrefslogtreecommitdiff
path: root/spatialite-tools/PKGBUILD
blob: 92baa8a0a683bb1d9c87a299700a793613637a3e (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: Erich Eckner <arch at eckner dot net>
# Contributor: Brian Galey <bkgaley at gmail dot com>
# Contributor: Aldeano <aldea.diaguita at gmail dot com>
pkgname=spatialite-tools
pkgver=4.3.0
pkgrel=10
pkgdesc='Set of CLI tools for spatialite'
arch=('i686' 'pentium4' 'x86_64')
url='https://www.gaia-gis.it/fossil/spatialite-tools/index'
license=('MPL')
_pinned_dependencies=(
  'glibc>=2.31'
  'libexpat.so=1'
  'libreadline.so=8'
  'libreadosm.so=1'
  'libspatialite=4.3.0.a'
  'libxml2=2.9.10'
  'sqlite=3.35.0'
)
depends=("${_pinned_dependencies[@]}")
options=('!libtool')
source=("http://www.gaia-gis.it/gaia-sins/$pkgname-sources/$pkgname-$pkgver.tar.gz")
sha256sums=('f739859bc04f38735591be2f75009b98a2359033675ae310dffc3114a17ccf89')

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

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