From 4c01f331dd9af63b03a32b8c4a9e4d5cf87baa58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 1 Jan 2021 19:58:42 +0700 Subject: [PATCH] gdmap: fix l10n dir --- srcpkgs/gdmap/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/gdmap/template b/srcpkgs/gdmap/template index 3e43a2446b5..2dc46b6e074 100644 --- a/srcpkgs/gdmap/template +++ b/srcpkgs/gdmap/template @@ -1,9 +1,9 @@ # Template file for 'gdmap' pkgname=gdmap version=0.8.1 -revision=3 +revision=4 build_style=gnu-configure -configure_args="LIBS=-lm" +configure_args="--with-locales-dir=/usr/share/locale LIBS=-lm" hostmakedepends="pkg-config intltool" makedepends="gtk+-devel libxml2-devel" short_desc="Graphical Disk Map" @@ -12,3 +12,7 @@ license="GPL-2.0-only" homepage="http://gdmap.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=a200c98004b349443f853bf611e49941403fce46f2335850913f85c710a2285b + +post_patch() { + vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure +}