summaryrefslogtreecommitdiff
path: root/office/ganttproject/ganttproject.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/ganttproject/ganttproject.SlackBuild')
-rw-r--r--office/ganttproject/ganttproject.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/office/ganttproject/ganttproject.SlackBuild b/office/ganttproject/ganttproject.SlackBuild
index bf7b1d7a7b..e366278ee2 100644
--- a/office/ganttproject/ganttproject.SlackBuild
+++ b/office/ganttproject/ganttproject.SlackBuild
@@ -2,8 +2,9 @@
# Slackware build script for ganttproject
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Copyright 2013 Chris Abela, Malta
-# Copyright 2014 Ryan P.C. McQuen, WA, ryan.q@linux.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +25,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ganttproject
-VERSION=${VERSION:-2.6.5_r1638} # dashes in $VERSION confuse pkgtool
+VERSION=${VERSION:-2.6.6_r1715} # dashes in $VERSION confuse pkgtool
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=${SRCVERSION:-2.6.5-r1638}
+## source version now relies on commit hash
+SRCVERSION=${SRCVERSION:-9cc2cf862fc4}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -44,15 +46,15 @@ mkdir -p \
$PKG/{opt/ganttproject,usr/{bin,share/{applications,pixmaps,mime/packages}}} \
$OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION-src
-unzip $CWD/$PRGNAM-$SRCVERSION-src.zip
-cd $PRGNAM-$SRCVERSION-src
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd ganttproject-builder
ant