From 016da6566deb04bec3285198f9fca4611b156ba1 Mon Sep 17 00:00:00 2001 From: Adrian Siekierka Date: Thu, 8 Jun 2017 16:40:54 +0200 Subject: [PATCH] intellij-idea-community-edition: update to 2017.1.4. --- .../intellij-idea-community-edition/template | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template index 2b0528c0ecd..e346e36e4df 100644 --- a/srcpkgs/intellij-idea-community-edition/template +++ b/srcpkgs/intellij-idea-community-edition/template @@ -1,14 +1,14 @@ # Template file for 'intellij-idea-community-edition' pkgname=intellij-idea-community-edition -version=2016.3.2 +version=2017.1.4 revision=1 depends="virtual?java-environment giflib libXtst" short_desc="Java integrated development environment" maintainer="Adrian Siekierka " license="Apache-2.0" homepage="https://www.jetbrains.org/" -distfiles="https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz" -checksum=6c13db4b58f95c1c9c45fca6b364d8730f1fbfe3490bad8308f1e047867df159 +distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jdk.tar.gz" +checksum=ea90fce3f93c4eaa58036278f630a0545ae0b191fa3bff48f480f2b268867cb0 nopie=yes only_for_archs="i686 x86_64" @@ -18,24 +18,33 @@ post_extract() { do_install() { vmkdir usr/bin + vmkdir usr/share/doc/intellij-idea vmkdir usr/share/intellij-idea - mv bin lib plugins ${DESTDIR}/usr/share/intellij-idea - rm -rf ${DESTDIR}/usr/share/intellij-idea/lib/libpty/macosx - rm -rf ${DESTDIR}/usr/share/intellij-idea/lib/libpty/win/x86_64 - rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-freebsd-amd64-0.11.jar - rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-osx-amd64-0.11.jar - rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-windows-amd64-0.11.jar + 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-osx-* + rm ${DESTDIR}/usr/share/intellij-idea/plugins/gradle/lib/native-platform-windows-* rm ${DESTDIR}/usr/share/intellij-idea/bin/fsnotifier-arm if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then - rm ${DESTDIR}/usr/share/intellij-idea/bin/libbreakgen.so 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/libbreakgen64.so 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/gradle/lib/native-platform-linux-amd64-0.11.jar + 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