summaryrefslogtreecommitdiff
path: root/system/slpkg/slpkg.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-11-20 14:25:50 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-21 08:05:09 +0700
commit3316d3b4eaac80d464e703a4be3cc237c9347955 (patch)
treeaaec0a7b6cb1af8da75597cc6e048327e4a38b36 /system/slpkg/slpkg.SlackBuild
parentc24f33c37b99186d6522cafc28c60fddf06caf8a (diff)
downloadslackbuilds-3316d3b4eaac80d464e703a4be3cc237c9347955.tar.gz
system/slpkg: Updated for version 2.0.6.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'system/slpkg/slpkg.SlackBuild')
-rw-r--r--system/slpkg/slpkg.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild
index 1f0ac9ad5d..bc5824bac8 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:-2.0.4}
+VERSION=${VERSION:-2.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,12 +77,16 @@ python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p $PKG/etc/slpkg
+
# check if blacklist file if already exist in /etc/slpkg
if [ ! -f "/etc/$PRGNAM/blacklist" ]; then
- mkdir -p $PKG/etc/$PRGNAM
install -D -m0644 conf/blacklist $PKG/etc/$PRGNAM/blacklist
fi
+# install configuration file
+install -D -m0644 conf/slpkg.conf $PKG/etc/slpkg/slpkg.conf.new
+
# install man page
mkdir -p $PKG/usr/man/man8
gzip -9 man/$PRGNAM.8