summaryrefslogtreecommitdiffstats
path: root/system/slpkg/slpkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/slpkg/slpkg.SlackBuild')
-rw-r--r--system/slpkg/slpkg.SlackBuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild
index 787a2b4af6..9febfc830b 100644
--- a/system/slpkg/slpkg.SlackBuild
+++ b/system/slpkg/slpkg.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for slpkg
-# Copyright 2014-2015 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slpkg
-VERSION=${VERSION:-2.2.6}
+VERSION=${VERSION:-2.2.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,6 +85,17 @@ for file in $CONFIGS; do
install -D -m0644 conf/$file $PKG/etc/slpkg/${file}.new
done
+# install bash completion file
+mkdir -p $PKG/etc/bash_completion.d
+install -D -m0744 conf/${PRGNAM}.bash-completion \
+ $PKG/etc/bash_completion.d/${PRGNAM}.bash-completion
+
+# install fish completion file
+if [ -d "/etc/fish/completions" ]; then
+ install -D -m0744 conf/${PRGNAM}.fish \
+ $PKG/etc/fish/completions/${PRGNAM}.fish
+fi
+
# install man page
mkdir -p $PKG/usr/man/man8
gzip -9 man/$PRGNAM.8