From a37ba6068b08753306ee59b692b49105e06e5649 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Wed, 26 Apr 2023 17:34:45 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20Eclipse-Modeling-Tools=20pinn?= =?UTF-8?q?ed=20to=202022-12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eclipse-modeling-tools-202212/.SRCINFO | 18 ++++++++++ eclipse-modeling-tools-202212/PKGBUILD | 35 +++++++++++++++++++ .../eclipse-modeling.desktop | 10 ++++++ .../eclipse-modeling.sh | 3 ++ 4 files changed, 66 insertions(+) create mode 100644 eclipse-modeling-tools-202212/.SRCINFO create mode 100644 eclipse-modeling-tools-202212/PKGBUILD create mode 100644 eclipse-modeling-tools-202212/eclipse-modeling.desktop create mode 100644 eclipse-modeling-tools-202212/eclipse-modeling.sh diff --git a/eclipse-modeling-tools-202212/.SRCINFO b/eclipse-modeling-tools-202212/.SRCINFO new file mode 100644 index 0000000..7e5dc56 --- /dev/null +++ b/eclipse-modeling-tools-202212/.SRCINFO @@ -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 diff --git a/eclipse-modeling-tools-202212/PKGBUILD b/eclipse-modeling-tools-202212/PKGBUILD new file mode 100644 index 0000000..32ab6c1 --- /dev/null +++ b/eclipse-modeling-tools-202212/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Tobias Beeh + +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" +} diff --git a/eclipse-modeling-tools-202212/eclipse-modeling.desktop b/eclipse-modeling-tools-202212/eclipse-modeling.desktop new file mode 100644 index 0000000..a71b2a1 --- /dev/null +++ b/eclipse-modeling-tools-202212/eclipse-modeling.desktop @@ -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 diff --git a/eclipse-modeling-tools-202212/eclipse-modeling.sh b/eclipse-modeling-tools-202212/eclipse-modeling.sh new file mode 100644 index 0000000..80b9786 --- /dev/null +++ b/eclipse-modeling-tools-202212/eclipse-modeling.sh @@ -0,0 +1,3 @@ +#!/bin/bash +export ECLIPSE_HOME=/usr/lib/eclipse-modeling +exec ${ECLIPSE_HOME}/eclipse "$@"