summaryrefslogtreecommitdiff
path: root/spatialite-tools/PKGBUILD
blob: eb57469e062129f4c9d6b4f5d9eee2067d4309b7 (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=4
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=(
  'expat=2.2.9'
  'glibc>=2.31'
  'libreadline.so=8'
  'libreadosm.so=1'
  'libspatialite=4.3.0.a'
  'libxml2=2.9.10'
  'sqlite=3.32.2'
)
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
}