summaryrefslogtreecommitdiff
path: root/readosm/PKGBUILD
blob: b03465548d066e681cf2b10d50005d5e1c5040c6 (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.0a
pkgrel=1
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=('4984b8a2bbdba9e79eca1414a076d402ffcd6756d8881eb2646d37679de5467fbc9324287b580e7f6f8fb8e5a01cbd44e94619abc95039d16e46665eb9d529d8')

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: