aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-php/eclipse-php.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-03-22 06:50:47 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-01 09:14:20 +0700
commit89f7b9cea5374d8f9218fe5c3aac7ff1ce14e489 (patch)
tree80aa522e294d459442038af267374de6a41255e0 /development/eclipse-php/eclipse-php.SlackBuild
parentb02f41da6f6e9e108f7a394c39c228fbfe688a12 (diff)
development/eclipse-php: 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-php/eclipse-php.SlackBuild')
-rw-r--r--development/eclipse-php/eclipse-php.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/eclipse-php/eclipse-php.SlackBuild b/development/eclipse-php/eclipse-php.SlackBuild
index 2e6cdff3fa..d3fdf1c8f8 100644
--- a/development/eclipse-php/eclipse-php.SlackBuild
+++ b/development/eclipse-php/eclipse-php.SlackBuild
@@ -30,8 +30,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=eclipse-php
-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}
@@ -59,11 +59,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