mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
office/ganttproject: updated for version 2.6.6_r1715
This commit is contained in:
parent
6cafd5c3c0
commit
5d3baeba12
2 changed files with 12 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue