summaryrefslogtreecommitdiff
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
parentedc1a226fcc5ac16be42c8613d9a20bb15e6d39f (diff)
downloadslackbuilds-a87024f522902d811cb5296640dab0293d0670b3.tar.gz
desktop/notion: Updated for version 4.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--desktop/notion/notion.SlackBuild13
-rw-r--r--desktop/notion/notion.info6
2 files changed, 9 insertions, 10 deletions
diff --git a/desktop/notion/notion.SlackBuild b/desktop/notion/notion.SlackBuild
index 8b149f63e6..f57fb2de67 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
diff --git a/desktop/notion/notion.info b/desktop/notion/notion.info
index 7fb996e54c..b49d9b75c1 100644
--- a/desktop/notion/notion.info
+++ b/desktop/notion/notion.info
@@ -1,8 +1,8 @@
PRGNAM="notion"
-VERSION="3_2019050101"
+VERSION="4.0.0"
HOMEPAGE="https://notionwm.net/"
-DOWNLOAD="https://github.com/raboof/notion/archive/3-2019050101/notion-3-2019050101.tar.gz"
-MD5SUM="ca980482c58abfedcb070825545fb0bd"
+DOWNLOAD="https://github.com/raboof/notion/archive/4.0.0/notion-4.0.0.tar.gz"
+MD5SUM="54bcb95c786b5d9855b0e1394937a3f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"