viking: fix l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-09 23:19:48 +07:00
parent 3aa352b1b6
commit c813fc4494
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'viking' # Template file for 'viking'
pkgname=viking pkgname=viking
version=1.8 version=1.8
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-realtime-gps-tracking --disable-bluemarble configure_args="--disable-realtime-gps-tracking --disable-bluemarble
--disable-bing --disable-terraserver --disable-spotmaps --disable-bing --disable-terraserver --disable-spotmaps
@ -20,3 +20,9 @@ checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
patch_args="-Np1" patch_args="-Np1"
CFLAGS="-fcommon" CFLAGS="-fcommon"
post_patch() {
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
-e '/localedir=.*eval/s,=.*,=/usr/share/locale,' \
configure
}