development/idea: Added (Development IDE).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Mario Antunes 2014-07-05 08:04:22 +07:00 committed by Willy Sudiarto Raharjo
parent b46b769505
commit bcd2feeb41
6 changed files with 118 additions and 0 deletions

11
development/idea/README Normal file
View file

@ -0,0 +1,11 @@
IntelliJ IDEA Community Edition is the open source version of IntelliJ IDEA,
a premier IDE (Integrated Development Environment) for Java, Groovy and
other programming languages such as Scala or Clojure.
JetBrains leverages the open source effort on JetBrains.org to build
commercial products such as IntelliJ IDEA Ultimate, which includes many
Java EE, Web development and deployment-related features that are not
available in IntelliJ IDEA Community Edition. JetBrains also builds different
specific products such as RubyMine, WebStorm, PhpStorm, PyCharm, AppCode and
MPS, which serve the needs of different developer communities. These
products are also built on top of the open source IntelliJ Platform.

View file

@ -0,0 +1,13 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -0,0 +1,56 @@
#!/bin/bash
#
# Slackware build script for IntelliJIDEA
# Written by Mario Antunes (mariolpantunes@gmail.com)
# This script is just a binary repackaging.
PRGNAM=idea
ARCNAM=ideaIC
VERSION=${VERSION:-13.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG/opt/ $OUTPUT
cd $PKG/opt/
tar xvf $CWD/$ARCNAM-$VERSION.tar.gz
mv * $PRGNAM
mkdir -p $PKG/etc/profile.d
cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh
#!/bin/sh
export IDEA_HOME=/opt/idea
export PATH=\$PATH:\$IDEA_HOME/bin
EOF
cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh
#!/bin/csh
setenv IDEA_HOME /opt/idea
setenv PATH \$PATH:\$IDEA_HOME/bin
EOF
chmod 755 $PKG/etc/profile.d/*
install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
install -D -m 0644 $PKG/opt/$PRGNAM/bin/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG/opt/$PRGNAM
mv *.txt license $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 $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Exec=idea.sh
Name=IntelliJ IDEA
GenericName=IntelliJ IDEA
Comment=IntelliJ IDEA
Icon=idea
StartupNotify=true
Categories=Development;

View file

@ -0,0 +1,10 @@
PRGNAM="idea"
VERSION="13.1.3"
HOMEPAGE="http://www.jetbrains.com/idea/"
DOWNLOAD="http://download.jetbrains.com/idea/ideaIC-13.1.3.tar.gz"
MD5SUM="f71c624bf4e98269d883e8ea8dd48145"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"
MAINTAINER="Mario Antunes"
EMAIL="mariolpantunes@gmail.com"

View file

@ -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------------------------------------------------------|
idea: idea (Development IDE)
idea:
idea: Out of the box, IntelliJ IDEA provides a comprehensive feature set
idea: including tools and integrations with the most important modern
idea: technologies and frameworks for enterprise and web development with
idea: Java, Scala, Groovy and other languages.
idea:
idea:
idea:
idea:
idea: