Add Eclipse-Modeling-Tools pinned to 2022-12
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Manske 2023-04-26 17:34:45 +02:00
parent 3859bdb533
commit a37ba6068b
Signed by: tobias
GPG Key ID: 9164B527694A0709
4 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,18 @@
pkgbase = eclipse-modeling-tools
pkgdesc = The Eclipse IDE with the Eclipse Modeling Tools as a standalone package (does not interfere with a standard Eclipse installation)
pkgver = 2022_03
pkgrel = 1
url = https://www.eclipse.org/modeling
arch = x86_64
license = EPL
depends = java-environment>=8
optdepends = python
options = !strip
source = https://www.eclipse.org/downloads/download.php?r=1&file=/technology/epp/downloads/release/2022-03/R/eclipse-modeling-2022-03-R-linux-gtk-x86_64.tar.gz
source = eclipse-modeling.sh
source = eclipse-modeling.desktop
sha512sums = 706de6304262b8dad57c5cb99cd915a82d8ea4c784e42d62bb6e84f8b286c30201c2a3e826d1413d184b746542ef72b00c344af03132bab5ec8856a5eb476ffe
sha512sums = e3460b10b2424cec30ac05560451d9cd8cb221ba06e0781b3076e5fedbc2cc9756b3749691ed895349d0afb1f7da6910576e52a37a07490140e856210a1e03d0
sha512sums = 7662740ea565329b7a7960269c8e485a13016c39a5db16f5ba02290ce41aa6629b7effcfb472674d00c47b89114eea3c88ab755606ab68d35d0f4f4050e8a37e
pkgname = eclipse-modeling-tools

View File

@ -0,0 +1,35 @@
# Maintainer: Tobias Beeh <tobias beeh at tum de>
pkgname=eclipse-modeling-tools
pkgver=2022_12
pkgrel=1
pkgdesc="The Eclipse IDE with the Eclipse Modeling Tools as a standalone package (does not interfere with a standard Eclipse installation)"
url="https://www.eclipse.org/modeling"
arch=("x86_64")
license=("EPL")
depends=("java-environment>=8")
optdepends=("python")
options=(!strip)
source=(
"https://www.eclipse.org/downloads/download.php?r=1&file=/technology/epp/downloads/release/${pkgver//_/-}/R/eclipse-modeling-${pkgver//_/-}-R-linux-gtk-${CARCH}.tar.gz"
"eclipse-modeling.sh"
"eclipse-modeling.desktop"
)
sha512sums=('594d8126de862f7ba0df239439de72ebf01b18b72bd8c90283e40988d20c9125efa14f5317a47aa229a819573790f6666b3472e966287ace794f76d6ac79cef1'
'e3460b10b2424cec30ac05560451d9cd8cb221ba06e0781b3076e5fedbc2cc9756b3749691ed895349d0afb1f7da6910576e52a37a07490140e856210a1e03d0'
'7662740ea565329b7a7960269c8e485a13016c39a5db16f5ba02290ce41aa6629b7effcfb472674d00c47b89114eea3c88ab755606ab68d35d0f4f4050e8a37e')
package() {
install -d ${pkgdir}/usr/bin ${pkgdir}/usr/lib ${pkgdir}/usr/share/applications
install -m755 "${srcdir}/eclipse-modeling.sh" "${pkgdir}/usr/bin/eclipse-modeling"
install -Dm644 "${srcdir}/eclipse-modeling.desktop" "${pkgdir}/usr/share/applications/"
for _i in 16 32 48 256; do
install -Dm644 "${srcdir}"/eclipse/plugins/org.eclipse.platform_*/eclipse${_i}.png "$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/eclipse-modeling.png"
done
mv "${srcdir}/eclipse" "${pkgdir}/usr/lib/eclipse-modeling"
}

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Version=4.7
Name=Eclipse Modeling Tools
Comment=Eclipse Modeling Tools
Exec=eclipse-modeling
Icon=eclipse-modeling
Terminal=false
Categories=GTK;Development;IDE;Modeling
StartupNotify=true

View File

@ -0,0 +1,3 @@
#!/bin/bash
export ECLIPSE_HOME=/usr/lib/eclipse-modeling
exec ${ECLIPSE_HOME}/eclipse "$@"