summaryrefslogtreecommitdiff
path: root/system/slpkg
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
parent05d334f2d7a6b244b73f59724eaed9114e60ff80 (diff)
downloadslackbuilds-962581ab65cb72cdb2c68a80beb60698df24955d.tar.gz
system/slpkg: Updated for version 2.2.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/slpkg')
-rw-r--r--system/slpkg/slpkg.SlackBuild15
-rw-r--r--system/slpkg/slpkg.info6
2 files changed, 16 insertions, 5 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
diff --git a/system/slpkg/slpkg.info b/system/slpkg/slpkg.info
index dd22f83b83..994b6b2919 100644
--- a/system/slpkg/slpkg.info
+++ b/system/slpkg/slpkg.info
@@ -1,8 +1,8 @@
PRGNAM="slpkg"
-VERSION="2.2.6"
+VERSION="2.2.7"
HOMEPAGE="https://github.com/dslackw/slpkg"
-DOWNLOAD="https://github.com/dslackw/slpkg/archive/v2.2.6.tar.gz"
-MD5SUM="bc70626560b37398bd66a02cc3c9f5ef"
+DOWNLOAD="https://github.com/dslackw/slpkg/archive/v2.2.7.tar.gz"
+MD5SUM="abea645bd382aa47500588631c299bb1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""