summaryrefslogtreecommitdiff
path: root/spatialite-tools/PKGBUILD
blob: 6775624d97f77bc7c18642504e0e0a71cffa5ef1 (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.1.0a
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=(
  'glibc>=2.31'
  'libexpat.so=1'
  'libreadline.so=8'
  'libreadosm.so=1'
  'libspatialite=5.1.0'
  'libsqlite3.so=0'
  'libxml2.so=2'
)
depends=("${_pinned_dependencies[@]}")
options=('!libtool')
source=("http://www.gaia-gis.it/gaia-sins/$pkgname-sources/$pkgname-$pkgver.tar.gz")
sha512sums=('cf255c9e04e78e450e20019e3c988b2b0a770c6b7857a5b1c95d0696ee29902e7a85667c1a38dec9aa164fa6d28a444be6365b0444b78015180c1f27fa68ea89')

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

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