warzone2100: don't install /usr/bin/.portable

it tricks keepassxc into portable mode

Closes: #36277
This commit is contained in:
Piraty 2022-03-22 11:51:31 +01:00
parent ba482268b0
commit 9fd038b979
No known key found for this signature in database
GPG key ID: 82F2CC796BD07077

View file

@ -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() {