summaryrefslogtreecommitdiff
path: root/readosm/PKGBUILD
blob: 049a8b35fc5b395084a77126d45e1da4f479abdd (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
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Brian Galey <bkgaley@gmail.com>
pkgname=readosm
pkgver=1.1.0
pkgrel=2
pkgdesc='Library to extract valid data from within an Open Street Map input file'
arch=('i686' 'pentium4' 'x86_64')
url='https://www.gaia-gis.it/fossil/readosm/index'
license=('MPL')
_pinned_dependencies=(
  'expat=2.2.9'
  'glibc>=2.31'
  'zlib=1:1.2.11'
)
depends=("${_pinned_dependencies[@]}")
options=('!libtool')
source=("http://www.gaia-gis.it/gaia-sins/$pkgname-sources/$pkgname-$pkgver.tar.gz")
sha512sums=('d3581f564c4461c6a1a3d5fd7d18a262c884b2ac935530064bfaebd6c05d692fb92cc600fb40e87e03f7160ebf0eeeb05f51a0e257935d056b233fe28fc01a11')

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

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

# vim:set ts=2 sw=2 et: