From 7867a7fb11769a5be036dcf1372e08c25280f595 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:31:14 +0700 Subject: [PATCH] lxlauncher: fix l10n dir --- srcpkgs/lxlauncher/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lxlauncher/template b/srcpkgs/lxlauncher/template index d9817999fb3..44f7b806ea5 100644 --- a/srcpkgs/lxlauncher/template +++ b/srcpkgs/lxlauncher/template @@ -1,9 +1,9 @@ # Template file for 'lxlauncher' pkgname=lxlauncher version=0.2.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 startup-notification-devel menu-cache-devel" conf_files=" @@ -17,3 +17,7 @@ homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=cd14b59cf337e7ba0d67efc95cd79859ab5f0f85af5a84c7aff771f868c3dca7 patch_args="-Np1" + +post_patch() { + vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure +}