blob: e8c5156f30efe1f0fd543162aef02c5165fbcea5 (
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
|
# Maintainer: Manuel Reimer <manuel.reimer@gmx.de>
# Contributor: Nikolay Korotkiy <sikmir@gmail.com>
# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Nick Østergaard <oe.nick@gmail.com>
# Contributor: Jonny Gerold <jonny@fsk141.com>
_pkgname=viking
pkgname=${_pkgname}-git
pkgver=1.8.r352.gc66ef1c6
pkgrel=1
pkgdesc='GTK+2 application to manage GPS data'
arch=(x86_64)
url='https://viking-gps.github.io/'
license=('GPL2')
depends=('curl' 'file' 'gpsd' 'gtk2' 'libgexiv2' 'mapnik' 'geoclue' 'liboauth' 'libzip')
makedepends=('git' 'boost' 'gtk-doc' 'intltool' 'yelp-tools')
optdepends=('gpsbabel: import and export GPS tracks from various formats')
options=('!emptydirs')
provides=("${pkgname//-git}=${pkgver}")
conflicts=($_pkgname)
source=("git+https://github.com/viking-gps/viking.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^viking\.//'
}
prepare() {
cd "$_pkgname"
export NOCONFIGURE=yes
./autogen.sh
}
build() {
cd "$_pkgname"
export CXXFLAGS="$CXXFLAGS -I/usr/include/mapnik"
./configure --prefix=/usr --enable-geocaches
make
}
package(){
cd "$_pkgname"
make DESTDIR="${pkgdir}" install
}
|