summaryrefslogtreecommitdiff
path: root/development/qbs/qbs.SlackBuild
diff options
context:
space:
mode:
authorNikos Giotis <nikos.giotis@gmail.com>2017-06-23 14:15:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:25 +0700
commit6126e17647811c527ac39f62a9ff3b2648bcbe22 (patch)
tree16388ea89a171f983a7e9ff8a42d9984c88e7636 /development/qbs/qbs.SlackBuild
parentc564210c851ffcc4f7bae6fc9e87da6312826452 (diff)
downloadslackbuilds-6126e17647811c527ac39f62a9ff3b2648bcbe22.tar.gz
development/qbs: Updated for version 1.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/qbs/qbs.SlackBuild')
-rw-r--r--development/qbs/qbs.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/development/qbs/qbs.SlackBuild b/development/qbs/qbs.SlackBuild
index 771c6d504c..69da8cf85d 100644
--- a/development/qbs/qbs.SlackBuild
+++ b/development/qbs/qbs.SlackBuild
@@ -24,9 +24,10 @@
# Changelog
# 20170125: Updated script for version 1.7.1
+# 2017XXYY: Updated script for version 1.8.0
PRGNAM=qbs
-VERSION=${VERSION:-1.7.1}
+VERSION=${VERSION:-1.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,9 +59,9 @@ else
fi
if [ -r /usr/bin/qbs ]; then
- echo "The qbs package needs to be removed before building"
- echo "in order to have a successful build"
- exit 1
+ echo "The qbs package needs to be removed before building"
+ echo "in order to have a successful build"
+ exit 1
fi
set -e
@@ -68,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-src-$VERSION
-tar xvf $CWD/$PRGNAM-src-$VERSION.tar.gz
-cd $PRGNAM-src-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -96,7 +97,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/html doc/qbs.qch $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LGPL_EXCEPTION.txt LICENSE.LGPLv21 LICENSE.LGPLv3 README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/applications