aboutsummaryrefslogtreecommitdiff
path: root/system/slpkg/slpkg.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2018-04-27 18:35:35 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-28 06:40:18 +0700
commit07d8539ac3750c444a93f7d92fdcfe0a228eebe6 (patch)
tree126fe1ec2c8336eacd9d20fc233530b418ba228b /system/slpkg/slpkg.SlackBuild
parentbcdbdccbfb51789ae12c567d5ba5646b638d6fe1 (diff)
system/slpkg: Updated for version 3.3.7.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'system/slpkg/slpkg.SlackBuild')
-rw-r--r--system/slpkg/slpkg.SlackBuild19
1 files changed, 3 insertions, 16 deletions
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild
index 1aaf622eddb16..ddc1634f6ceb3 100644
--- a/system/slpkg/slpkg.SlackBuild
+++ b/system/slpkg/slpkg.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slpkg
-VERSION=${VERSION:-3.3.4}
+VERSION=${VERSION:-3.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -88,21 +88,8 @@ done
# keep original configuration file for reset
cp -p conf/slpkg.conf $PKG/etc/slpkg/slpkg.conf.orig
-# 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
-install -D -m0644 man/$PRGNAM.8.gz $PKG/usr/man/man8/$PRGNAM.8.gz
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.rst ChangeLog.txt LICENSE TESTING ISSUES KNOWN_ISSUES REPOSITORIES \