aboutsummaryrefslogtreecommitdiff
path: root/development/obnc/obnc.SlackBuild
diff options
context:
space:
mode:
authorJorge Giner <malferit@gmail.com>2019-02-03 08:06:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-03 08:06:36 +0700
commit876bfe844ab3d39e78c3a156a9e1ea4812942d96 (patch)
treeb0aef8a9ac464f18394a3ed97269f47050c2766e /development/obnc/obnc.SlackBuild
parent2d4b51a70d91d2a9eb83051b68a9e0244cfb849a (diff)
development/obnc: Updated for version 0.14.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/obnc/obnc.SlackBuild')
-rw-r--r--development/obnc/obnc.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/development/obnc/obnc.SlackBuild b/development/obnc/obnc.SlackBuild
index e18c2e8899fcd..7dfba2f005df0 100644
--- a/development/obnc/obnc.SlackBuild
+++ b/development/obnc/obnc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for obnc
-# Copyright 2018 Jorge Giner Cordero
+# Copyright 2019 Jorge Giner Cordero
# 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=obnc
-VERSION=${VERSION:-0.13.3}
+VERSION=${VERSION:-0.14.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,9 +78,8 @@ CXXFLAGS="$SLKCFLAGS" \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/obnc/* $PKG/usr/doc/$PRGNAM-$VERSION
-
+rm -rf $PKG/usr/share/doc
mv $PKG/usr/share/man $PKG/usr
-rm -rf $PKG/usr/share
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
@@ -88,7 +87,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
-cp -a COPYING VERSION README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING VERSION README CONFIG $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install