summaryrefslogtreecommitdiff
path: root/spatialite-tools/PKGBUILD
blob: 77c8e9a40d19f6fb47fe6280ab1cbedd18491b84 (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=5.0.1
pkgrel=17
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=5.0.1'
  'libxml2.so=2'
  'sqlite=3.39.3'
)
depends=("${_pinned_dependencies[@]}")
options=('!libtool')
source=("http://www.gaia-gis.it/gaia-sins/$pkgname-sources/$pkgname-$pkgver.tar.gz")
sha512sums=('dad52f6ed3c66ffd95f3a5c21225cd1b20641523af616f7e8defba8e4e46921da169e5f7bf9c53a355e132b6e74750d6db3fe02c870a3386f850df49c83bb8cd')

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

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