diff --git a/net-misc/nextcloud-client/nextcloud_client-3.11.1.recipe b/net-misc/nextcloud-client/nextcloud_client-3.11.1.recipe index d867d0b61..7074f1825 100644 --- a/net-misc/nextcloud-client/nextcloud_client-3.11.1.recipe +++ b/net-misc/nextcloud-client/nextcloud_client-3.11.1.recipe @@ -3,7 +3,7 @@ DESCRIPTION="This Nextcloud client is a tool to synchronize files with a Nextclo HOMEPAGE="https://nextcloud.com" COPYRIGHT="Nextcloud GmbH" LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/nextcloud/desktop/archive/refs/tags/v$portVersion.tar.gz" CHECKSUM_SHA256="9f60a6707d31e82357780dff11168ede88d1f859481a22f2d04c827e656f3fba" SOURCE_DIR="desktop-$portVersion" @@ -13,6 +13,14 @@ ADDITIONAL_FILES="nextcloud_client.rdef.in" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" +# On x86_gcc2 we don't want to install the commands in bin//, but in bin/. +commandBinDir=$binDir +commandSuffix=$secondaryArchSuffix +if [ "$targetArchitecture" = x86_gcc2 ]; then + commandSuffix= + commandBinDir=$prefix/bin +fi + libVersion="$portVersion" libVersionCompat="$libVersion compat >= ${libVersion%%.*}"