New package: intellij-idea-community-edition-14.1.1
This commit is contained in:
parent
c1ae02f280
commit
46aefe0be3
|
@ -0,0 +1,34 @@
|
|||
pkgname=intellij-idea-community-edition
|
||||
version=14.1.1
|
||||
_tarversion=141.178.9
|
||||
revision=1
|
||||
depends="virtual?java-environment giflib libXtst"
|
||||
short_desc="Java integrated development environment"
|
||||
maintainer="Adrian Siekierka <kontakt@asie.pl>"
|
||||
license="Apache-2.0"
|
||||
homepage="http://www.jetbrains.org/"
|
||||
wrksrc="idea-IC-${_tarversion}"
|
||||
distfiles="http://download.jetbrains.com/idea/ideaIC-${version}.tar.gz"
|
||||
checksum=32db2d24c0412a35babaccf081f5a0b0906e4a407aa97131514dcbf3ba8e1926
|
||||
only_for_archs="i686 x86_64"
|
||||
|
||||
do_install() {
|
||||
vmkdir "usr/bin"
|
||||
vmkdir "usr/lib/intellij-idea"
|
||||
|
||||
mv bin lib plugins ${DESTDIR}/usr/lib/intellij-idea
|
||||
rm -rf "${DESTDIR}"usr/lib/intellij-idea/lib/libpty/macosx
|
||||
rm -rf "${DESTDIR}"usr/lib/intellij-idea/lib/libpty/win/x86_64
|
||||
rm "${DESTDIR}"usr/lib/intellij-idea/plugins/gradle/lib/native-platform-freebsd-amd64-0.10.jar
|
||||
rm "${DESTDIR}"usr/lib/intellij-idea/plugins/gradle/lib/native-platform-osx-amd64-0.10.jar
|
||||
rm "${DESTDIR}"usr/lib/intellij-idea/plugins/gradle/lib/native-platform-windows-amd64-0.10.jar
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
rm "${DESTDIR}"usr/lib/intellij-idea/bin/libbreakgen64.so
|
||||
rm "${DESTDIR}"usr/lib/intellij-idea/bin/fsnotifier64
|
||||
rm "${DESTDIR}"usr/lib/intellij-idea/lib/libpty/linux/x86_64
|
||||
rm "${DESTDIR}"usr/lib/intellij-idea/lib/libpty/linux/x86_64/libpty.so
|
||||
rm "${DESTDIR}"usr/lib/intellij-idea/plugins/gradle/lib/native-platform-linux-amd64-0.10.jar
|
||||
fi
|
||||
|
||||
ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
|
||||
}
|
Loading…
Reference in New Issue