diff options
Diffstat (limited to 'development/tig/tig.SlackBuild')
-rw-r--r-- | development/tig/tig.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/development/tig/tig.SlackBuild b/development/tig/tig.SlackBuild index d874b88c0b..1c0d84306b 100644 --- a/development/tig/tig.SlackBuild +++ b/development/tig/tig.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for tig -# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tig -VERSION=${VERSION:-2.5.4} +VERSION=${VERSION:-2.5.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -98,8 +95,8 @@ make install-doc install DESTDIR=$PKG 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 -mkdir -p $PKG/etc/bash_completion.d -cat contrib/tig-completion.bash > $PKG/etc/bash_completion.d/tig +mkdir -p $PKG/usr/share/bash-completion/completions +cat contrib/tig-completion.bash > $PKG/usr/share/bash-completion/completions/tig mv $PKG/etc/tigrc $PKG/etc/tigrc.new |