2014-03-04 17:09:26 +00:00
|
|
|
# Template file for 'eclipse'
|
|
|
|
pkgname=eclipse
|
2015-03-02 22:32:02 +00:00
|
|
|
version=4.4.2
|
2014-03-04 17:09:26 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc="eclipse"
|
2015-03-02 22:32:02 +00:00
|
|
|
depends="virtual?java-environment unzip gtk+ webkitgtk2 libXtst hicolor-icon-theme desktop-file-utils"
|
2014-03-04 17:09:26 +00:00
|
|
|
short_desc="An IDE for Java and other languages"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-03-04 17:09:26 +00:00
|
|
|
license="EPL"
|
|
|
|
homepage="http://eclipse.org"
|
|
|
|
only_for_archs="i686 x86_64"
|
|
|
|
|
2015-03-02 22:32:02 +00:00
|
|
|
_release=luna-SR2
|
2014-03-04 17:09:26 +00:00
|
|
|
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
|
|
|
distfiles="http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/eclipse-standard-${_release}-linux-gtk-x86_64.tar.gz"
|
2015-03-02 22:32:02 +00:00
|
|
|
checksum=835a2aaa7f3c81d4c307c17414bdd4a5b219035777eb42150e1d46f5465db98c
|
2014-03-04 17:09:26 +00:00
|
|
|
else
|
|
|
|
distfiles="http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/eclipse-standard-${_release}-linux-gtk.tar.gz"
|
2015-03-02 22:32:02 +00:00
|
|
|
checksum=287d8d6b3c8500b9761e73b862b68a55eb8212dc0ab20d8efc129e4d66098b85
|
2014-03-04 17:09:26 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/lib/eclipse
|
|
|
|
cp -a ${wrksrc}/* ${DESTDIR}/usr/lib/eclipse
|
|
|
|
|
2014-11-13 09:17:48 +00:00
|
|
|
vbin ${FILESDIR}/eclipse.sh eclipse
|
2014-03-04 17:09:26 +00:00
|
|
|
vinstall ${FILESDIR}/eclipse.desktop 644 usr/share/applications
|
|
|
|
|
|
|
|
for _i in 16 32 48 256; do
|
|
|
|
install -Dm644 plugins/org.eclipse.platform_*/eclipse${_i}.png \
|
|
|
|
${DESTDIR}/usr/share/icons/hicolor/${_i}x${_i}/apps/eclipse.png
|
|
|
|
done
|
|
|
|
}
|