From c813fc4494ece81eb4bd22e948044495465ffef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 9 Jan 2021 23:19:48 +0700 Subject: [PATCH] viking: fix l10n dir --- srcpkgs/viking/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template index e0807418eca..6f7a469c204 100644 --- a/srcpkgs/viking/template +++ b/srcpkgs/viking/template @@ -1,7 +1,7 @@ # Template file for 'viking' pkgname=viking version=1.8 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-realtime-gps-tracking --disable-bluemarble --disable-bing --disable-terraserver --disable-spotmaps @@ -20,3 +20,9 @@ checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8 patch_args="-Np1" CFLAGS="-fcommon" + +post_patch() { + vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \ + -e '/localedir=.*eval/s,=.*,=/usr/share/locale,' \ + configure +}