summaryrefslogtreecommitdiff
path: root/office/ganttproject/ganttproject.SlackBuild
diff options
context:
space:
mode:
authorEkin Akoglu <ekinakoglu@gmail.com>2018-08-03 22:11:44 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-04 08:40:04 +0700
commitc519203e98187f75ccbcca8582a912b570b788fd (patch)
tree887239a40576be3cb36ff5cd5a5e8a6bc2b80e95 /office/ganttproject/ganttproject.SlackBuild
parent9451299510747c3759b46653cdb9e13f3df2be4f (diff)
downloadslackbuilds-c519203e98187f75ccbcca8582a912b570b788fd.tar.gz
office/ganttproject: Fix XFCE menu, etc.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/ganttproject/ganttproject.SlackBuild')
-rw-r--r--office/ganttproject/ganttproject.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/office/ganttproject/ganttproject.SlackBuild b/office/ganttproject/ganttproject.SlackBuild
index db03fab8d4..d602d396ef 100644
--- a/office/ganttproject/ganttproject.SlackBuild
+++ b/office/ganttproject/ganttproject.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for ganttproject
+# Slackware build script for rstudio-desktop
# Copyright 2018 Ekin Akoglu, Erdemli/Mersin, Turkey
# All rights reserved.
@@ -23,8 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ganttproject
-VERSION=${VERSION:-2.8.8-r2308}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.8.8}
+VERSION_BUILD=${VERSION_BUILD:-r2308}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,7 +55,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar x $CWD/${PRGNAM}_${VERSION}-1_all.deb
+ar x $CWD/${PRGNAM}_${VERSION}-${VERSION_BUILD}-1_all.deb
tar xvzf data.tar.gz
chown -R root:root .
find -L . \
@@ -66,6 +67,8 @@ find -L . \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+patch -p0 < $CWD/ganttproject.desktop.patch
+
rm -f $PKG/control.tar.gz
rm -r $PKG/data.tar.gz
rm -f $PKG/debian-binary