void-packages/srcpkgs/viking/template
2021-11-13 20:04:12 +01:00

24 lines
848 B
Bash

# Template file for 'viking'
pkgname=viking
version=1.9
revision=2
build_style=gnu-configure
configure_args="--disable-mapnik"
hostmakedepends="glib-devel pkg-config gettext intltool itstool libxslt docbook-xsl"
makedepends="gtk+3-devel libcurl-devel geoclue2-devel sqlite-devel file-devel
libgexiv2-devel liboauth-devel gpsd-devel libzip-devel nettle-devel"
checkdepends="yelp-tools"
short_desc="Open/source GPS data editor and analyzer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://sourceforge.net/projects/viking"
distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
checksum=fe4acf3d24121d6f3097d17ea704b42c0336a8f693151886b8b26e308dbfcb3b
CFLAGS="-fcommon"
post_patch() {
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
-e '/localedir=.*eval/s,=.*,=/usr/share/locale,' \
configure
}