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

This commit is contained in:
John 2019-03-29 05:52:35 +01:00
parent a97cea2938
commit 04a5d8c74f
No known key found for this signature in database
GPG key ID: 778558807E4FFC55

View file

@ -1,6 +1,6 @@
# Template file for 'intellij-idea-community-edition'
pkgname=intellij-idea-community-edition
version=2018.3.5
version=2019.1
revision=1
archs="i686 x86_64"
depends="virtual?java-environment giflib libXtst"
@ -8,8 +8,8 @@ short_desc="Java integrated development environment by JetBrains"
maintainer="John <johnz@posteo.net>"
license="Apache-2.0"
homepage="https://www.jetbrains.org/"
distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jdk.tar.gz"
checksum=0124028014d6bd5dd392114f0cd42f094239528d0da06c4c9dba4ef8921f4f35
distfiles="https://download.jetbrains.com/idea/ideaIC-${version}-no-jbr.tar.gz"
checksum=e0ceed118baf09a72fe80970b2deb556c92b133661f7858e2d221b2faaa5b31d
repository=nonfree
nopie=yes
@ -25,19 +25,23 @@ do_install() {
mv bin lib plugins redist product-info.json build.txt ${DESTDIR}/usr/lib/intellij-idea
mv LICENSE.txt NOTICE.txt license ${DESTDIR}/usr/share/doc/intellij-idea
rm ${DESTDIR}/usr/lib/intellij-idea/bin/fsnotifier-arm
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
case $XBPS_TARGET_MACHINE in
x86_64)
rm ${DESTDIR}/usr/lib/intellij-idea/bin/fsnotifier
rm ${DESTDIR}/usr/lib/intellij-idea/bin/idea.vmoptions
rm ${DESTDIR}/usr/lib/intellij-idea/plugins/android/lib/libwebp/linux/libwebp_jni.so
rm ${DESTDIR}/usr/lib/intellij-idea/lib/pty4j-native/linux/x86 -rf
else
rm ${DESTDIR}/usr/lib/intellij-idea/lib/pty4j-native/linux/ppc64le -rf
;;
i686)
rm ${DESTDIR}/usr/lib/intellij-idea/bin/fsnotifier64
rm ${DESTDIR}/usr/lib/intellij-idea/bin/idea64.vmoptions
rm ${DESTDIR}/usr/lib/intellij-idea/plugins/android/lib/libwebp/linux/libwebp_jni64.so
rm ${DESTDIR}/usr/lib/intellij-idea/bin/libdbm64.so
rm ${DESTDIR}/usr/lib/intellij-idea/lib/pty4j-native/linux/x86_64 -rf
fi
rm ${DESTDIR}/usr/lib/intellij-idea/lib/pty4j-native/linux/ppc64le -rf
;;
esac
ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
}