diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2016-01-28 08:38:01 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-29 07:16:36 +0700 |
commit | ea7aa1b5788c3348fac857b2ac4ef5bace5475f5 (patch) | |
tree | 96f353ba00aced2e001479239fc9fd302d484c7c /desktop/notion/notion.SlackBuild | |
parent | 7724888b6c7d3bc7bed62c4cb58263700df9e0fd (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.SlackBuild | 11 |
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" \ |