eclipse: update to 4.17.

This commit is contained in:
mobinmob 2020-09-23 15:57:37 +03:00 committed by Andrew J. Hesford
parent 27064aad33
commit e2ba2a006a

View file

@ -1,29 +1,32 @@
# Template file for 'eclipse'
pkgname=eclipse
version=4.16
version=4.17
revision=1
#code name of version
_release=2020-06
_release=2020-09
archs="x86_64"
wrksrc="eclipse"
depends="virtual?java-environment unzip gtk+3 webkit2gtk libXtst
depends="openjdk11 gtk+3 webkit2gtk libXtst
hicolor-icon-theme desktop-file-utils"
short_desc="IDE for Java and other languages"
maintainer="Orphaned <orphan@voidlinux.org>"
license="EPL-1.0"
homepage="https://eclipse.org"
nopie=yes
make_dirs="/usr/lib/eclipse/dropins 0770 root users"
_patch=R
_edition=java
_mirror="http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse"
distfiles="${_mirror}/technology/epp/downloads/release/${_release}/${_patch}/eclipse-${_edition}-${_release}-${_patch}-linux-gtk-x86_64.tar.gz"
checksum=dc52b7486715cf13aa2642b7e96fc7d2ea1d0544c070110dd52b2644ec869e76
checksum=ad597ad092d349f7a2bca3ca2145614a3e9fdf3d5311b24bff1089010fd34f5e
python_version=2
do_install() {
vmkdir usr/lib/eclipse
cp -a ${wrksrc}/* ${DESTDIR}/usr/lib/eclipse
sed -i '6i-vm' ${DESTDIR}/usr/lib/eclipse/eclipse.ini
sed -i '7i/usr/lib/jvm/openjdk11/bin' ${DESTDIR}/usr/lib/eclipse/eclipse.ini
vbin ${FILESDIR}/eclipse.sh eclipse
vinstall ${FILESDIR}/eclipse.desktop 644 usr/share/applications