1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-12-23 20:51:05 +01:00
void-packages/srcpkgs/intellij-idea-ultimate-edition/template

48 lines
2.8 KiB
Bash

# Template file for 'intellij-idea-ultimate-edition'
# Official template from https://github.com/void-linux/void-packages/blob/master/srcpkgs/intellij-idea-ultimate-edition
pkgname=intellij-idea-ultimate-edition
version=2024.1.1
revision=1
archs="x86_64"
depends="giflib libXtst jetbrains-jdk-bin lldb-devel"
short_desc="Most intelligent Java IDE"
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
license="custom:Commercial"
homepage="https://www.jetbrains.com/idea"
distfiles="https://download.jetbrains.com/idea/ideaIU-${version}.tar.gz"
checksum=d78b5ad0cf8325ca0659aae36b9979a581dab6cf8c7cd127cfb7f86440f282c9
nopie=yes
python_version=3
skiprdeps="/usr/lib/intellij-idea-ultimate-edition/plugins/Kotlin/bin/linux/LLDBFrontend"
restricted=yes
do_install() {
vmkdir usr/bin
vmkdir usr/share/doc/intellij-idea-ultimate-edition
vmkdir usr/lib/intellij-idea-ultimate-edition
mv bin lib plugins product-info.json modules build.txt jbr ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition
ls
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/webp/lib/libwebp/win -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/webp/lib/libwebp/mac -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/cwm-plugin/quiche-native/win32-x86-64/ -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/cwm-plugin/quiche-native/linux-aarch64/ -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/cwm-plugin/quiche-native/darwin-x86-64/ -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/cwm-plugin/quiche-native/darwin-aarch64/ -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/maven/lib/maven3/lib/jansi-native/windows32 -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/maven/lib/maven3/lib/jansi-native/windows64 -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/maven/lib/maven3/lib/jansi-native/osx -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/maven/lib/maven3/lib/jansi-native/freebsd32 -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/maven/lib/maven3/lib/jansi-native/freebsd64 -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/lib/pty4j-native/linux/x86 -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/lib/pty4j-native/linux/aarch64 -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/lib/pty4j-native/linux/mips64el -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/lib/pty4j-native/linux/ppc64le -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/lib/pty4j-native/linux/arm -rf
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/webp/lib/libwebp/linux/libwebp_jni.so
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate-edition/plugins/maven/lib/maven3/lib/jansi-native/linux32 -rf
ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
}