diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2015-08-13 15:48:46 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-15 15:12:41 +0700 |
commit | 017b2cbb5c06eca607c1b63c959b29defb0d1b1e (patch) | |
tree | 5c995127f93e8ddcda8c7bd6fc8b13ee7e4a1120 /desktop/notion/notion.SlackBuild | |
parent | 58d983b311ed505a7100d485a8c45dc5c963c053 (diff) |
desktop/notion: Updated for version 3_2015061300.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop/notion/notion.SlackBuild')
-rw-r--r-- | desktop/notion/notion.SlackBuild | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/desktop/notion/notion.SlackBuild b/desktop/notion/notion.SlackBuild index eac27eca4ce0c..a632f938b4f45 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 \ |