summaryrefslogtreecommitdiff
path: root/desktop/notion
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-08-13 15:48:46 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-15 15:12:41 +0700
commit017b2cbb5c06eca607c1b63c959b29defb0d1b1e (patch)
tree5c995127f93e8ddcda8c7bd6fc8b13ee7e4a1120 /desktop/notion
parent58d983b311ed505a7100d485a8c45dc5c963c053 (diff)
downloadslackbuilds-017b2cbb5c06eca607c1b63c959b29defb0d1b1e.tar.gz
desktop/notion: Updated for version 3_2015061300.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop/notion')
-rw-r--r--desktop/notion/notion.SlackBuild24
-rw-r--r--desktop/notion/notion.info6
2 files changed, 9 insertions, 21 deletions
diff --git a/desktop/notion/notion.SlackBuild b/desktop/notion/notion.SlackBuild
index eac27eca4c..a632f938b4 100644
--- a/desktop/notion/notion.SlackBuild
+++ b/desktop/notion/notion.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for notion
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=notion
-VERSION=${VERSION:-3_2014052800}
-SRCVER=$(echo $VERSION | tr _ - )
+SRCVER=${SRCVER:-3-2015061300}
+VERSION=$(echo $SRCVER | tr - _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,10 +60,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVER-src.tar.gz
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -71,17 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make \
- OPTS="$SLKCFLAGS" \
- PREFIX=/usr \
- ETCDIR=/etc/$PRGNAM \
- LIBDIR=/usr/lib$LIBDIRSUFFIX \
- MANDIR=/usr/man \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION \
- X11INC=/usr/include \
- X11LIB=/usr/lib${LIBDIRSUFFIX}/X11
-
-
+make
make install \
OPTS="$SLKCFLAGS" \
PREFIX=/usr \
diff --git a/desktop/notion/notion.info b/desktop/notion/notion.info
index 4bb9c565c6..986910a469 100644
--- a/desktop/notion/notion.info
+++ b/desktop/notion/notion.info
@@ -1,8 +1,8 @@
PRGNAM="notion"
-VERSION="3_2014052800"
+VERSION="3_2015061300"
HOMEPAGE="http://notion.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/notion/notion-3-2014052800-src.tar.gz"
-MD5SUM="f6256fe12a3d321dbb7f7d2ecfcdcbeb"
+DOWNLOAD="https://github.com/raboof/notion/archive/3-2015061300.tar.gz"
+MD5SUM="6dea9fdc4654aa8dbb294ad86feb9ce1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"