summaryrefslogtreecommitdiff
path: root/desktop/notion/notion.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/notion/notion.SlackBuild')
-rw-r--r--desktop/notion/notion.SlackBuild24
1 files changed, 6 insertions, 18 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 \