From 9fd038b979a9069624dc257dd8ce7535f5df8ae1 Mon Sep 17 00:00:00 2001 From: Piraty Date: Tue, 22 Mar 2022 11:51:31 +0100 Subject: [PATCH] warzone2100: don't install /usr/bin/.portable it tricks keepassxc into portable mode Closes: #36277 --- srcpkgs/warzone2100/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/warzone2100/template b/srcpkgs/warzone2100/template index 9ef2297bae..9c69162670 100644 --- a/srcpkgs/warzone2100/template +++ b/srcpkgs/warzone2100/template @@ -1,7 +1,7 @@ # Template file for 'warzone2100' pkgname=warzone2100 version=4.2.7 -revision=1 +revision=3 wrksrc="warzone2100" build_style=cmake configure_args="-DWZ_ENABLE_WARNINGS_AS_ERRORS=OFF -DWZ_DISTRIBUTOR=void" @@ -28,6 +28,12 @@ post_extract() { fi } +post_install() { + # .portable has side-effect with keepassxc + # https://github.com/Warzone2100/warzone2100/issues/2645 + rm "$DESTDIR"/usr/bin/.portable +} + warzone2100-data_package() { short_desc+=" - data files" pkg_install() {