36 lines
1.6 KiB
Bash
36 lines
1.6 KiB
Bash
# 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'
|
|
'842724e4fdea972350b1ae3b2feefbcedb6a82b4508de9748464602ca1031d0e8e1de3846cec28ecdbd656e8b85715dae4412f43a514993db71385c49dbefe63'
|
|
'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"
|
|
}
|