summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f046a941c27ab6f1855a15c30270f633e717b218 (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
35
# Maintainer: e dot sovetkin at gmaildotcom
pkgname=smrender-git
pkgver=v4.3.0
pkgrel=2
pkgdesc="A rule-based renderer for OSM data"
arch=('any')
url="http://www.abenteuerland.at/smrender/"
license=('GPLv3')
depends=()
makedepends=('git')
conflicts=()
provides=('smrender')
source=("git+https://github.com/rahra/smrender.git#tag=${pkgver}")
md5sums=('SKIP')
_gitname=smrender

pkgver () {
    cd "${srcdir}/${_gitname}"
    echo $(git describe --always | sed 's/-/./g')
}

build() {
    cd "${srcdir}/${_gitname}"
    ./autoconf.sh
    ./configure --prefix=/usr
    make
}

package () {
    cd "${srcdir}/${_gitname}"
    make DESTDIR=$pkgdir install
}

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