intellij-idea-community-edition: update to 2018.1.1.

Closes #13496.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
Adrian Siekierka 2018-04-15 07:49:09 +02:00 committed by Enno Boland
parent a2764b71a0
commit 674f9622d6
1 changed files with 3 additions and 17 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'intellij-idea-community-edition'
pkgname=intellij-idea-community-edition
version=2017.3.3
version=2018.1.1
revision=1
depends="virtual?java-environment giflib libXtst"
short_desc="Java integrated development environment"
@ -8,7 +8,7 @@ maintainer="Adrian Siekierka <kontakt@asie.pl>"
license="Apache-2.0"
homepage="https://www.jetbrains.org/"
distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jdk.tar.gz"
checksum=83fe8c0b063da15b88f21977158a84a5c812712fee403fe729f0772179078019
checksum=c882dee60b7927ca9b2ccb13a46cff4c3ecc688d7e7eec9c53878a801ab1d5b6
repository=nonfree
nopie=yes
only_for_archs="i686 x86_64"
@ -23,30 +23,16 @@ do_install() {
vmkdir usr/share/intellij-idea
mv bin lib plugins redist ${DESTDIR}/usr/share/intellij-idea
mv LICENSE.txt NOTICE.txt license ${DESTDIR}/usr/share/doc/intellij-idea
rm ${DESTDIR}/usr/share/intellij-idea/plugins/android/lib/gluegen-rt-natives-macosx-*
rm ${DESTDIR}/usr/share/intellij-idea/plugins/android/lib/gluegen-rt-natives-windows-*
rm ${DESTDIR}/usr/share/intellij-idea/plugins/android/lib/jogl-all-natives-macosx-*
rm ${DESTDIR}/usr/share/intellij-idea/plugins/android/lib/jogl-all-natives-windows-*
rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-freebsd-*
rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-linux-*-ncurses5-*
rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-osx-*
rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-windows-*
mv LICENSE.txt NOTICE.txt build.txt license ${DESTDIR}/usr/share/doc/intellij-idea
rm ${DESTDIR}/usr/share/intellij-idea/bin/fsnotifier-arm
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
rm ${DESTDIR}/usr/share/intellij-idea/bin/fsnotifier
rm ${DESTDIR}/usr/share/intellij-idea/bin/idea.vmoptions
rm ${DESTDIR}/usr/share/intellij-idea/lib/libpty/linux/x86/libpty.so
rm ${DESTDIR}/usr/share/intellij-idea/plugins/android/lib/gluegen-rt-natives-linux-i586.jar
rm ${DESTDIR}/usr/share/intellij-idea/plugins/android/lib/jogl-all-natives-linux-i586.jar
rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-linux-i386-*
else
rm ${DESTDIR}/usr/share/intellij-idea/bin/fsnotifier64
rm ${DESTDIR}/usr/share/intellij-idea/bin/idea64.vmoptions
rm ${DESTDIR}/usr/share/intellij-idea/lib/libpty/linux/x86_64/libpty.so
rm ${DESTDIR}/usr/share/intellij-idea/plugins/android/lib/gluegen-rt-natives-linux-amd64.jar
rm ${DESTDIR}/usr/share/intellij-idea/plugins/android/lib/jogl-all-natives-linux-amd64.jar
rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-linux-amd64-*
fi
ln -sf /usr/share/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea