summaryrefslogtreecommitdiff
path: root/spatialite-tools/PKGBUILD
blob: 70d345fd494d0b9b7491cdc643c5b2b07fae07bb (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.0
pkgrel=1
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.33.0'
)
depends=("${_pinned_dependencies[@]}")
options=('!libtool')
source=("http://www.gaia-gis.it/gaia-sins/$pkgname-sources/$pkgname-$pkgver.tar.gz")
sha512sums=('a1497824df2c45ffa1ba6b4ec53794c2c4779b6357885ee6f1243f2bff137c3e4dd93b0a802239ced73f66be22faf0081b83bf0ad4effb8a04052712625865d1')

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

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