summaryrefslogtreecommitdiff
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
parentbcdbdccbfb51789ae12c567d5ba5646b638d6fe1 (diff)
downloadslackbuilds-07d8539ac3750c444a93f7d92fdcfe0a228eebe6.tar.gz
system/slpkg: Updated for version 3.3.7.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--system/slpkg/slpkg.SlackBuild19
-rw-r--r--system/slpkg/slpkg.info6
2 files changed, 6 insertions, 19 deletions
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild
index 1aaf622edd..ddc1634f6c 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 \
diff --git a/system/slpkg/slpkg.info b/system/slpkg/slpkg.info
index 5a63f0f3e1..9486515752 100644
--- a/system/slpkg/slpkg.info
+++ b/system/slpkg/slpkg.info
@@ -1,8 +1,8 @@
PRGNAM="slpkg"
-VERSION="3.3.4"
+VERSION="3.3.7"
HOMEPAGE="https://github.com/dslackw/slpkg"
-DOWNLOAD="https://github.com/dslackw/slpkg/archive/v3.3.4/slpkg-3.3.4.tar.gz"
-MD5SUM="0c08eaac7f40fd9d8304aed8c3e69050"
+DOWNLOAD="https://github.com/dslackw/slpkg/archive/v3.3.7/slpkg-3.3.7.tar.gz"
+MD5SUM="3fe4ca75b734a7880cf13a07d6e1b441"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""