aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-cpp/eclipse-cpp.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-03-21 19:52:01 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-01 09:14:20 +0700
commit381b92bad6a49e74bf5b05793111c0e1b89b165a (patch)
tree2d91c19081e70b2449b1661de72e827b704521a1 /development/eclipse-cpp/eclipse-cpp.SlackBuild
parentaf7d1ecb50b015fd638c29df04236fd32c50e99f (diff)
development/eclipse-cpp: Updated for version 4.27.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/eclipse-cpp/eclipse-cpp.SlackBuild')
-rw-r--r--development/eclipse-cpp/eclipse-cpp.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/eclipse-cpp/eclipse-cpp.SlackBuild b/development/eclipse-cpp/eclipse-cpp.SlackBuild
index 0abb1d0c31703..9064226ac101b 100644
--- a/development/eclipse-cpp/eclipse-cpp.SlackBuild
+++ b/development/eclipse-cpp/eclipse-cpp.SlackBuild
@@ -29,8 +29,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=eclipse-cpp
-VERSION=${VERSION:-4.26}
-SRCVERSION=${SRCVERSION:-2022-12-R}
+VERSION=${VERSION:-4.27}
+SRCVERSION=${SRCVERSION:-2023-03-R}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -58,11 +58,11 @@ mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT
cd $PKG/opt/$PRGNAM
# Untar source code tarball according with ARCH value
-# ARCH can only be 'x86_64'
-if [ "$ARCH" = "x86_64" ]; then
+# ARCH can only be 'x86_64' or 'aarch64'
+if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ] ; then
tar --strip-components=1 -xvf $CWD/$PRGNAM-$SRCVERSION-linux-gtk-$ARCH.tar.gz
else
- printf "$ARCH is not supported...\n"
+ printf "%s is not supported...\n" "$ARCH"
exit 1
fi