From 48ffb70337925c024f46e4643682e085c271b04f 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 18:28:21 +0700 Subject: [PATCH 1/2] genius: load l10n from /usr/share --- srcpkgs/genius/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/genius/template b/srcpkgs/genius/template index 395d5c530a0..2434a9d3d2a 100644 --- a/srcpkgs/genius/template +++ b/srcpkgs/genius/template @@ -1,7 +1,7 @@ # Template file for 'genius' pkgname=genius version=1.0.25 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-update-mimedb ac_cv_file__proc_self_maps=yes GTK_UPDATE_ICON_CACHE=gtk-update-icon-cache" @@ -20,4 +20,5 @@ nocross="run the binaries" post_patch() { vsed -i -e '/PKG_CHECK_MODULES/s/ncurses/ncursesw/' configure.ac autoreconf -fi + vsed -i -e '/DATADIRNAME=/s/=.*/=share/' configure } From d2f9e90fca5c5076876b83dc3ed78adcbff104e6 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 18:56:47 +0700 Subject: [PATCH 2/2] lxappearance: load l10n from /usr/share --- srcpkgs/lxappearance/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/lxappearance/template b/srcpkgs/lxappearance/template index 33b739278c4..33d768aeb94 100644 --- a/srcpkgs/lxappearance/template +++ b/srcpkgs/lxappearance/template @@ -1,7 +1,7 @@ # Template file for 'lxappearance' pkgname=lxappearance version=0.6.3 -revision=3 +revision=4 build_style=gnu-configure configure_args="$(vopt_enable dbus) $(vopt_enable gtk3)" hostmakedepends="pkg-config intltool" @@ -16,3 +16,7 @@ checksum=7222d858b8fef4b7967c42142d61e82ded6dd42dc5ef1d59caad775795928b38 build_options="gtk3 dbus" build_options_default="dbus gtk3" + +post_patch() { + vsed -i -e '/DATADIRNAME=/s/=.*/=share/' configure +}