diff options
Diffstat (limited to 'office/ganttproject/ganttproject.SlackBuild')
-rw-r--r-- | office/ganttproject/ganttproject.SlackBuild | 11 |
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 |