aboutsummaryrefslogtreecommitdiff
path: root/system/slpkg/slpkg.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-03-19 06:19:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-19 06:19:25 +0700
commit962581ab65cb72cdb2c68a80beb60698df24955d (patch)
treed4647d37d91ac2c587ae0358e7caf70e20c5237b /system/slpkg/slpkg.SlackBuild
parent05d334f2d7a6b244b73f59724eaed9114e60ff80 (diff)
system/slpkg: Updated for version 2.2.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 787a2b4af6eb..9febfc830b46 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