diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2017-07-10 23:28:58 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-07-12 16:39:21 +0100 |
commit | 452f64849e9b0747121c8abdf1cccf26ee505efd (patch) | |
tree | 59b6ad401f3d88fc538ab6860a0d7efd7f60736b /development | |
parent | ef36b55c53d4f565a9c4a66a7c38288cf0b78b73 (diff) |
development/eclim: Updated for version gitc977952.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/eclim/eclim.SlackBuild | 38 | ||||
-rw-r--r-- | development/eclim/eclim.info | 8 |
2 files changed, 32 insertions, 14 deletions
diff --git a/development/eclim/eclim.SlackBuild b/development/eclim/eclim.SlackBuild index 28844290d7fef..1b2683c1ec90a 100644 --- a/development/eclim/eclim.SlackBuild +++ b/development/eclim/eclim.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for eclim -# Copyright 2016 Andrew Clemons, Wellington, New Zealand +# Copyright 2016-2017 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=eclim -VERSION=${VERSION:-2.6.0} -BUILD=${BUILD:-5} +# temporarily build the oxygen branch until released so i don't hold up +# updating the eclipse slackbuilds any longer +GITREV=${GITREV:-c977952934d6317380458618484bd577e2cab2d0} +VERSION=${VERSION:-git$(echo "$GITREV" | sed 's/^\(.\{7\}\).*$/\1/')} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -59,9 +62,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf "$PRGNAM"_"$VERSION" -tar xvf $CWD/"$PRGNAM"_"$VERSION".tar.gz -cd $"$PRGNAM"_"$VERSION" +rm -rf $PRGNAM-$GITREV +tar xvf $CWD/$PRGNAM-$GITREV.tar.gz +cd $PRGNAM-$GITREV + +# this is a git submodule, but not filled when directly downloading a revision +rm -rf doc/theme +tar xvf $CWD/sphinx-bootstrap-theme-f32f006f06092eb57814b41fe66e1b423d622e88.tar.gz +mv sphinx-bootstrap-theme-f32f006f06092eb57814b41fe66e1b423d622e88 doc/theme + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,6 +78,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# manually set the version - will be removed when 2.7.0 is finally released +echo "2.6.0" > .version +sed -i 's/^ version = dotversion.getText.*$/ version = "2.6.0.24-gc977952"/' ant/build.gant +sed -i 's/^ release = version/ release = "2.6.0"/' ant/build.gant + # http://eclim.org/install.html#install-source ( # rebuild nailgun @@ -119,12 +133,14 @@ mkdir -p $PKG$ECLIPSE_HOME ant docs vimdocs -Declipse.home=$ECLIPSE_HOME -Dvim.files=$PKG/usr/share/vim/vimfiles ant deploy -Declipse.home=$PKG$ECLIPSE_HOME -Dvim.files=$PKG/usr/share/vim/vimfiles +# manually set the version - will be removed when 2.7.0 is finally released +ECLIM_VERSION=2.6.0.24-gc977952 # tidy up -sed -i "s#$PKG##" $PKG$ECLIPSE_HOME/plugins/org.eclim_$VERSION/bin/eclimd \ - $PKG$ECLIPSE_HOME/plugins/org.eclim_$VERSION/plugin.properties \ - $PKG/usr/share/vim/vimfiles/eclim/plugin/eclim.vim -sed -i "s#\${eclipse.home}#$ECLIPSE_HOME#" $PKG$ECLIPSE_HOME/plugins/org.eclim_$VERSION/bin/native/linux/eclimd $PKG$ECLIPSE_HOME/plugins/org.eclim_$VERSION/bin/native/linux/eclimd.desktop -find $PKG$ECLIPSE_HOME/plugins/org.eclim_$VERSION/nailgun \! -name ng -mindepth 1 -print0 | xargs -0 rm -rf +sed -i "s#$PKG##" $PKG$ECLIPSE_HOME/plugins/org.eclim_$ECLIM_VERSION/bin/eclimd \ + $PKG$ECLIPSE_HOME/plugins/org.eclim_$ECLIM_VERSION/plugin.properties \ + $PKG/usr/share/vim/vimfiles/eclim/plugin/eclim.vim +sed -i "s#\${eclipse.home}#$ECLIPSE_HOME#" $PKG$ECLIPSE_HOME/plugins/org.eclim_$ECLIM_VERSION/bin/native/linux/eclimd $PKG$ECLIPSE_HOME/plugins/org.eclim_$ECLIM_VERSION/bin/native/linux/eclimd.desktop +find $PKG$ECLIPSE_HOME/plugins/org.eclim_$ECLIM_VERSION/nailgun \! -name ng -mindepth 1 -print0 | xargs -0 rm -rf rm -rf build/doc/site/.doctrees mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/eclim/eclim.info b/development/eclim/eclim.info index 783d339a5d80f..a2e00d6ace8ff 100644 --- a/development/eclim/eclim.info +++ b/development/eclim/eclim.info @@ -1,9 +1,11 @@ PRGNAM="eclim" -VERSION="2.6.0" +VERSION="gitc977952" HOMEPAGE="http://eclim.org" -DOWNLOAD="https://github.com/ervandew/eclim/releases/download/2.6.0/eclim_2.6.0.tar.gz \ +DOWNLOAD="https://github.com/ervandew/eclim/archive/c977952934d6317380458618484bd577e2cab2d0/eclim-c977952934d6317380458618484bd577e2cab2d0.tar.gz \ + https://github.com/ervandew/sphinx-bootstrap-theme/archive/f32f006f06092eb57814b41fe66e1b423d622e88/sphinx-bootstrap-theme-f32f006f06092eb57814b41fe66e1b423d622e88.tar.gz \ http://central.maven.org/maven2/org/codehaus/gant/gant_groovy2.2/1.9.11/gant_groovy2.2-1.9.11.jar" -MD5SUM="74557a1d0c2fb22ec7ae46e7ad200e49 \ +MD5SUM="8fd30a6460d7711a988ae67630d7f49c \ + b76e2dcd46e21c16ad783e57a16c9cdb \ 557e401f2e4633ed6ebdab582fb16921" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |