cudatext, bump version (#10438)

This commit is contained in:
Schrijvers Luc
2024-05-14 14:41:42 +02:00
committed by GitHub
parent 4f71e3ea37
commit d565636ebb

View File

@@ -28,13 +28,8 @@ COPYRIGHT="2024 Alexey-T"
LICENSE="MPL v2.0"
REVISION="1"
SOURCE_URI="https://github.com/Begasus/CudaText-Haikuports/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="26334565dd92f9ed7bdb624780fdd13b07f88dc67b87894a511ff99cd7e48ea5"
#SOURCE_FILENAME="cudatext-$portVersion-$srcGitRev.tar.gz"
if [ "$targetArchitecture" = x86_gcc2 ]; then
SOURCE_DIR="CudaText-Haikuports-$portVersion/files/32bit"
elif [ "$targetArchitecture" = x86_64 ]; then
SOURCE_DIR="CudaText-Haikuports-$portVersion/files/64bit"
fi
CHECKSUM_SHA256="ff1c161b3d8c18ebb869a793ecc266baf07136f952ee2d2a621ddc824da71045"
SOURCE_DIR="CudaText-Haikuports-$portVersion/files"
ADDITIONAL_FILES="CudaText.rdef.in
setup-cudatext.sh
"
@@ -64,7 +59,11 @@ fi
INSTALL()
{
mkdir -p $appsDir $dataDir $postInstallDir
cp apps/CudaText $appsDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
cp 32bit/apps/CudaText $appsDir
elif [ "$targetArchitecture" = x86_64 ]; then
cp 64bit/apps/CudaText $appsDir
fi
cp -rf data/cudatext $dataDir
local MAJOR="`echo "$portVersion" | cut -d. -f1`"