aboutsummaryrefslogtreecommitdiff
path: root/desktop/notion/notion.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-01-28 08:38:01 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-29 07:16:36 +0700
commitea7aa1b5788c3348fac857b2ac4ef5bace5475f5 (patch)
tree96f353ba00aced2e001479239fc9fd302d484c7c /desktop/notion/notion.SlackBuild
parent7724888b6c7d3bc7bed62c4cb58263700df9e0fd (diff)
desktop/notion: Fix lookup PREFIX installation.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
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 a632f938b4f4..eb6e9d7aedf6 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" \