1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-10 00:48:06 +01:00
void-packages/srcpkgs/intellij-idea-ultimate-edition/template

49 lines
2.8 KiB
Bash
Raw Normal View History

2024-04-04 17:08:06 +02:00
# 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
2024-05-01 13:43:58 +02:00
version=2024.1.1
revision=1
archs="x86_64"
2024-04-04 17:08:06 +02:00
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"
2024-05-01 13:43:58 +02:00
distfiles="https://download.jetbrains.com/idea/ideaIU-${version}.tar.gz"
checksum=d78b5ad0cf8325ca0659aae36b9979a581dab6cf8c7cd127cfb7f86440f282c9
2024-04-04 17:08:06 +02:00
nopie=yes
python_version=3
skiprdeps="/usr/lib/intellij-idea-ultimate-edition/plugins/Kotlin/bin/linux/LLDBFrontend"
restricted=yes
2024-04-04 17:08:06 +02:00
do_install() {
vmkdir usr/bin
2024-05-01 13:43:58 +02:00
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
}