aboutsummaryrefslogtreecommitdiff
path: root/desktop/notion/notion.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/notion/notion.SlackBuild')
-rw-r--r--desktop/notion/notion.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/desktop/notion/notion.SlackBuild b/desktop/notion/notion.SlackBuild
index a632f938b4f45..eb6e9d7aedf6e 100644
--- a/desktop/notion/notion.SlackBuild
+++ b/desktop/notion/notion.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for notion
-# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=notion
SRCVER=${SRCVER:-3-2015061300}
VERSION=$(echo $SRCVER | tr - _)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,13 @@ 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 {} \;
+# Fix notion lookup PREFIX installation
+if [ "$ARCH" = "x86_64" ]; then
+ patch -p1 < $CWD/system64.patch
+else
+ patch -p1 < $CWD/system.patch
+fi
+
make
make install \
OPTS="$SLKCFLAGS" \