aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorGiuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>2016-08-06 08:39:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-07 18:55:32 +0700
commitf949b649a5fadbbf5035908c6e3ffe23dba8b6fc (patch)
treefa88b281690b641ecac8710e064e5f5e00362453 /development
parentc22b48354b0f024075dfcfbc5aeb9d636e35ce57 (diff)
development/komodo-ide: Added (Multi-Language IDE).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/komodo-ide/README5
-rw-r--r--development/komodo-ide/doinst.sh6
-rw-r--r--development/komodo-ide/komodo-ide.SlackBuild79
-rw-r--r--development/komodo-ide/komodo-ide.info10
-rw-r--r--development/komodo-ide/slack-desc19
5 files changed, 119 insertions, 0 deletions
diff --git a/development/komodo-ide/README b/development/komodo-ide/README
new file mode 100644
index 0000000000000..9af5950de6d7b
--- /dev/null
+++ b/development/komodo-ide/README
@@ -0,0 +1,5 @@
+Komodo IDE - Multi-Language IDE for Professional Developers
+
+Komodo is the professional IDE for major web languages, including
+Python, PHP, Ruby, Perl, HTML, CSS and JavaScript. You'll enjoy
+developing faster with Komodo IDE's complete set of tools.
diff --git a/development/komodo-ide/doinst.sh b/development/komodo-ide/doinst.sh
new file mode 100644
index 0000000000000..bfdb8bcdc4709
--- /dev/null
+++ b/development/komodo-ide/doinst.sh
@@ -0,0 +1,6 @@
+( cd usr/bin; ln -sf /opt/komodo-ide/bin/komodo komodo-ide )
+( cd usr/share/applications; ln -sf /opt/komodo-ide/share/desktop/komodo-ide-*.desktop komodo-ide.desktop )
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/development/komodo-ide/komodo-ide.SlackBuild b/development/komodo-ide/komodo-ide.SlackBuild
new file mode 100644
index 0000000000000..d99c551709b2b
--- /dev/null
+++ b/development/komodo-ide/komodo-ide.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/sh
+
+# Slackware build script for Komodo IDE
+
+# Copyright 2014-2016 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=komodo-ide
+VERSION=${VERSION:-10.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+ case "$ARCH" in
+ i?86) PKG_ARCH=x86 ;;
+ x86_64) PKG_ARCH=x86_64 ;;
+ *) echo "Architecture not supported"; exit 0;
+ esac
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT $PKG/opt/$PRGNAM
+cd $TMP
+rm -rf $PRGNAM-$VERSION-*
+tar xvf $CWD/Komodo-IDE-$VERSION-*-linux-$PKG_ARCH.tar.gz
+cd Komodo-IDE-$VERSION-*-linux-$PKG_ARCH
+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 {} \;
+
+sh install.sh -s -I $PKG/opt/$PRGNAM --dest-dir /opt/$PRGNAM
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+)
+
+sed -i -e "s#$PKG##" $PKG/opt/$PRGNAM/share/desktop/$PRGNAM-*.desktop
+chmod 644 $PKG/opt/$PRGNAM/share/desktop/$PRGNAM-*.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/komodo-ide/komodo-ide.info b/development/komodo-ide/komodo-ide.info
new file mode 100644
index 0000000000000..c51017b8e6f8d
--- /dev/null
+++ b/development/komodo-ide/komodo-ide.info
@@ -0,0 +1,10 @@
+PRGNAM="komodo-ide"
+VERSION="10.0.1"
+HOMEPAGE="http://komodoide.com/"
+DOWNLOAD="http://downloads.activestate.com/Komodo/releases/10.0.1/Komodo-IDE-10.0.1-89237-linux-x86.tar.gz"
+MD5SUM="ceb16ca0798fbc376cba4f1abd8cbc2d"
+DOWNLOAD_x86_64="http://downloads.activestate.com/Komodo/releases/10.0.1/Komodo-IDE-10.0.1-89237-linux-x86_64.tar.gz"
+MD5SUM_x86_64="9bda7e2c7c1115015ece6fb50b3450f1"
+REQUIRES=""
+MAINTAINER="Giuseppe Di Terlizzi"
+EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/development/komodo-ide/slack-desc b/development/komodo-ide/slack-desc
new file mode 100644
index 0000000000000..8f7f49d5bf514
--- /dev/null
+++ b/development/komodo-ide/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+komodo-ide: komodo-ide (Multi-Language IDE for Professional Developers)
+komodo-ide:
+komodo-ide: Komodo is the professional IDE for major web languages, including
+komodo-ide: Python, PHP, Ruby, Perl, HTML, CSS and JavaScript. You'll enjoy
+komodo-ide: developing faster with Komodo IDE's complete set of tools.
+komodo-ide:
+komodo-ide:
+komodo-ide:
+komodo-ide:
+komodo-ide: http://www.activestate.com/komodo-ide/
+komodo-ide: