From e6024eef7f45335a93d4f35f322de89140246c74 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 21:48:48 +0700 Subject: [PATCH] libcryptui: fix l10n dir --- srcpkgs/libcryptui/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template index 30be95c3ebe..a0bfef4a32c 100644 --- a/srcpkgs/libcryptui/template +++ b/srcpkgs/libcryptui/template @@ -1,11 +1,11 @@ # Template file for 'libcryptui' pkgname=libcryptui version=3.12.2 -revision=2 +revision=3 build_style=gnu-configure build_helper="gir" configure_args="--disable-static --disable-update-mime-database ---disable-schemas-compile $(vopt_enable gir introspection)" + --disable-schemas-compile $(vopt_enable gir introspection)" hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg $(vopt_if gir gobject-introspection)" makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel @@ -22,6 +22,10 @@ checksum=71ead1a7b496f07f6c5102ae79945dd2515b7b9342c6edefe58b47318be20866 build_options="gir" build_options_default="gir" +post_patch() { + vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure +} + libcryptui-devel_package() { depends="gtk+3-devel dbus-glib-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"