aboutsummaryrefslogtreecommitdiff
path: root/desktop/notion/notion.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2020-03-20 18:35:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-21 08:59:02 +0700
commita87024f522902d811cb5296640dab0293d0670b3 (patch)
tree513b5c360eb51a7cc536f287cda47f85170cd64b /desktop/notion/notion.SlackBuild
parentedc1a226fcc5ac16be42c8613d9a20bb15e6d39f (diff)
desktop/notion: Updated for version 4.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop/notion/notion.SlackBuild')
-rw-r--r--desktop/notion/notion.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/desktop/notion/notion.SlackBuild b/desktop/notion/notion.SlackBuild
index 8b149f63e648..f57fb2de678b 100644
--- a/desktop/notion/notion.SlackBuild
+++ b/desktop/notion/notion.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for notion
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=notion
-VERSION=${VERSION:-3_2019050101}
-SRCVER=$(echo $VERSION | tr _ -)
+VERSION=${VERSION:-4.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
@@ -99,7 +98,7 @@ mkdir -p $PKG/etc/X11/xinit
install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md LICENSE CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install