diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2014-08-17 10:22:13 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-21 21:19:11 +0700 |
commit | 5d3baeba12b37b69f171d96f900ffc23228aa1f2 (patch) | |
tree | c671d45680f5e76829ba6b5d99cc6d7114899f6e /office/ganttproject/ganttproject.SlackBuild | |
parent | 6cafd5c3c0529e4ca3c5654b86e35a9c1571769d (diff) | |
download | slackbuilds-5d3baeba12b37b69f171d96f900ffc23228aa1f2.tar.gz |
office/ganttproject: updated for version 2.6.6_r1715
Diffstat (limited to 'office/ganttproject/ganttproject.SlackBuild')
-rw-r--r-- | office/ganttproject/ganttproject.SlackBuild | 16 |
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 |