summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 26650c295c29a6a40995668c535d2938ba7b5431 (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
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=tilemaker-git
pkgver=1.5.0.r11.g6c8c990
pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}
pkgrel=1
pkgdesc="Convert OpenStreetMap .pbf files into vector tiles without the stack"
arch=('i686' 'x86_64')
url="https://github.com/systemed/tilemaker"
license=('custom')
install=$pkgname.install
depends=('boost-libs' 'lua51' 'protobuf' 'sqlite' 'shapelib')
makedepends=('git' 'boost')
source=("$pkgname::git+https://github.com/systemed/${pkgname%-git}")
md5sums=('SKIP')

build() {
  cd "$pkgname"
  make
}

package() {
  cd "$pkgname"
  install -Dm 0755 tilemaker $pkgdir/usr/bin/tilemaker
  install -Dm 0644 LICENCE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}