nextcloud_client, fix variable $commandBinDir (#10053)

This commit is contained in:
Schrijvers Luc
2024-02-05 21:10:22 +01:00
committed by GitHub
parent 2a1e90e51f
commit f64481c77f

View File

@@ -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/<arch>/, but in bin/.
commandBinDir=$binDir
commandSuffix=$secondaryArchSuffix
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
libVersion="$portVersion"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"