aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2014-08-17 10:22:13 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-21 21:19:11 +0700
commit5d3baeba12b37b69f171d96f900ffc23228aa1f2 (patch)
treec671d45680f5e76829ba6b5d99cc6d7114899f6e /office
parent6cafd5c3c0529e4ca3c5654b86e35a9c1571769d (diff)
office/ganttproject: updated for version 2.6.6_r1715
Diffstat (limited to 'office')
-rw-r--r--office/ganttproject/ganttproject.SlackBuild16
-rw-r--r--office/ganttproject/ganttproject.info6
2 files changed, 12 insertions, 10 deletions
diff --git a/office/ganttproject/ganttproject.SlackBuild b/office/ganttproject/ganttproject.SlackBuild
index bf7b1d7a7ba8..e366278ee279 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
diff --git a/office/ganttproject/ganttproject.info b/office/ganttproject/ganttproject.info
index cbb68ffcabf1..e9998ebced08 100644
--- a/office/ganttproject/ganttproject.info
+++ b/office/ganttproject/ganttproject.info
@@ -1,8 +1,8 @@
PRGNAM="ganttproject"
-VERSION="2.6.5_r1638"
+VERSION="2.6.6_r1715"
HOMEPAGE="http://www.ganttproject.biz"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/ganttproject/ganttproject-2.6.5-r1638-src.zip"
-MD5SUM="4a72eeb5475622746ee0a9fe8f6fdb2e"
+DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/ganttproject/ganttproject-9cc2cf862fc4.tar.gz"
+MD5SUM="86179ef120a4e43a3ef46bde8f89d74a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="apache-ant"