summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0310d7e7bb3a67b50512cac957bc31ede30e769a (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Maintainer: Evert Vorster <superchief AT evertvorster DOT com>
pkgname=routegen-git
_pkgname=routegen
pkgver=v1.11.0_14_g4943d4e
pkgrel=1
epoch=
pkgdesc="Package for drawing and animating a route on a map"
arch=(x86_64)
url="https://github.com/michjans/routegen"
license=('GPL3')
groups=()
depends=(libgeotiff-git qt5-webchannel qt5-location qt5-declarative qt5-base qt5-webengine)



makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/michjans/routegen")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()

pkgver(){
    cd "$srcdir/$_pkgname/"
    git describe --tags | tr - _
}

prepare() {
echo "Prepare step"
cd ${srcdir}
mkdir -p Build
}

build() {
echo "Build step"
cd ${srcdir}/Build
cmake ../${_pkgname}/src \
  -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_INSTALL_PREFIX=/usr
make
}

check() {
echo "Check routine"
}

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