aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Petrachkov <dmitry-petrachkov@outlook.com>2024-07-05 09:43:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-06 12:16:38 +0700
commitb16709f03466ef07577fed5de07604c01dc3a099 (patch)
tree0bc701620ee24ea6a4acd672ab7c836bdd828e36
parent1b7ec2804a043c454f2371dd30b43263f0352e93 (diff)
downloadslackbuilds-b16709f03466ef07577fed5de07604c01dc3a099.tar.xz
system/far2l: Updated for version 2.6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/far2l/far2l.SlackBuild9
-rw-r--r--system/far2l/far2l.info6
2 files changed, 9 insertions, 6 deletions
diff --git a/system/far2l/far2l.SlackBuild b/system/far2l/far2l.SlackBuild
index 022c19ced308..3faf6e64f59f 100644
--- a/system/far2l/far2l.SlackBuild
+++ b/system/far2l/far2l.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for far2l
-# Copyright 2023 Dmitry Petrachkov, Smolensk, Russia Federation
+# Copyright 2023-2024 Dmitry Petrachkov, Smolensk, Russia Federation
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=far2l
-VERSION=${VERSION:-2.5.3}
+VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -103,9 +103,12 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Without WxWidgets, far2l always starting in terminal
if [[ "${WX:-no}" != "yes" ]]; then
+ # Without WxWidgets, far2l always starting in terminal
sed -i 's/Terminal=false/Terminal=true/g' $PKG/usr/share/applications/far2l.desktop
+else
+ # dont use TTY
+ sed -i 's/Exec=far2l/Exec=far2l --notty/g' $PKG/usr/share/applications/far2l.desktop
fi
chmod -x $PKG/usr/share/applications/far2l.desktop
diff --git a/system/far2l/far2l.info b/system/far2l/far2l.info
index 599840b9a798..dae87c71a315 100644
--- a/system/far2l/far2l.info
+++ b/system/far2l/far2l.info
@@ -1,8 +1,8 @@
PRGNAM="far2l"
-VERSION="2.5.3"
+VERSION="2.6.0"
HOMEPAGE="https://github.com/elfmz/far2l"
-DOWNLOAD="https://github.com/elfmz/far2l/archive/v_2.5.3/far2l-v_2.5.3.tar.gz"
-MD5SUM="45be6e0330e91b9532b4ce943bc1bad6"
+DOWNLOAD="https://github.com/elfmz/far2l/archive/v_2.6.0/far2l-v_2.6.0.tar.gz"
+MD5SUM="1fd6565e9167a0cdf421b7f4805bd751"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""