1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Nick Østergaard <oe.nick@gmail.com>
3 # Contributor: Jonny Gerold <jonny@fsk141.com>
8 pkgdesc="GTK application to manage GPS data"
10 url="https://sourceforge.net/projects/viking/"
12 depends=('curl' 'file' 'gpsd' 'gtk3' 'libgexiv2' 'mapnik' 'geoclue' 'liboauth' 'libzip')
13 makedepends=('boost' 'docbook-xsl' 'intltool' 'itstool')
14 optdepends=('gpsbabel: import and export GPS tracks from various formats')
15 changelog=$pkgname.changelog
16 source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
17 https://raw.githubusercontent.com/viking-gps/$pkgname/$pkgname-$pkgver/org.viking.Viking.appdata.xml)
18 sha256sums=('9455c895f98bc13de24bd6b234cd0f1d5ecdc1b068b4cbc6eb6644f6126e45ac'
19 'f6dad8e63e49150e60e92243c08202dec20af2d453d38c18dd18ff95712b1885')
22 sed -i 's/org.viking.Viking.desktop/viking.desktop/' org.viking.Viking.appdata.xml
26 cd "${srcdir}"/$pkgname-$pkgver
28 export CXXFLAGS="$CXXFLAGS -I/usr/include/mapnik"
29 ./configure --prefix=/usr
34 cd "${srcdir}"/$pkgname-$pkgver
36 make DESTDIR="${pkgdir}" install
37 install -Dm644 ../org.viking.Viking.appdata.xml "${pkgdir}"/usr/share/metainfo/viking.appdata.xml