void-packages/srcpkgs/viking/template
Đoàn Trần Công Danh c813fc4494 viking: fix l10n dir
2021-01-12 21:07:04 +07:00

28 lines
1,020 B
Bash

# Template file for 'viking'
pkgname=viking
version=1.8
revision=2
build_style=gnu-configure
configure_args="--disable-realtime-gps-tracking --disable-bluemarble
--disable-bing --disable-terraserver --disable-spotmaps
--disable-expedia --disable-mapnik --enable-magic --enable-bzip2
--enable-mbtiles --with-libexif"
hostmakedepends="gdk-pixbuf-devel intltool pkg-config"
makedepends="file-devel gnome-doc-utils gtk+-devel libcurl-devel libexif-devel
libgexiv2-devel sqlite-devel bzip2-devel geoclue2-devel liboauth-devel
nettle-devel"
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=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
patch_args="-Np1"
CFLAGS="-fcommon"
post_patch() {
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
-e '/localedir=.*eval/s,=.*,=/usr/share/locale,' \
configure
}