system/far2l: Updated for version 2.6.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dmitry Petrachkov 2024-07-05 09:43:21 +07:00 committed by Willy Sudiarto Raharjo
parent 1b7ec2804a
commit b16709f034
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 6 deletions

View file

@ -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

View file

@ -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=""