From e5e7cc5c86bd24e1d4e0b2b22bbdd8060491f134 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, 2 Jan 2021 06:30:30 +0700 Subject: [PATCH] lxinput: fix l10n dir --- srcpkgs/lxinput/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lxinput/template b/srcpkgs/lxinput/template index f5689634fb8..8736f3f854a 100644 --- a/srcpkgs/lxinput/template +++ b/srcpkgs/lxinput/template @@ -1,9 +1,9 @@ # Template file for 'lxinput' pkgname=lxinput version=0.3.5 -revision=2 +revision=3 build_style=gnu-configure -configure_args="--enable-gtk3" +configure_args="--with-locales-dir=/usr/share/locale --enable-gtk3" hostmakedepends="pkg-config intltool" makedepends="gtk+3-devel" depends="desktop-file-utils" @@ -13,3 +13,7 @@ license="GPL-2.0-or-later" homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=4e8f778a65a4afe2365b47e7899358aa4fab535343aa62c72a3cdc4cac1f6e88 + +post_patch() { + vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure +}