forked from pacstall/pacstall-programs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheclipse-rcp-bin.pacscript
More file actions
28 lines (25 loc) · 1.39 KB
/
Copy patheclipse-rcp-bin.pacscript
File metadata and controls
28 lines (25 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
pkgname="eclipse-rcp-bin"
pkgver="4.38"
_release="2025-12"
pkgdesc="IDE for Rich Client Platform (RCP) and Remote Application Platform (RAP)"
arch=('amd64')
url="https://eclipse.org/ide"
license=('EPL-2.0')
depends=('libwebkit2gtk-4.1-0')
source=("https://cdimage.debian.org/mirror/eclipse.org/technology/epp/downloads/release/${_release}/R/eclipse-rcp-${_release}-R-linux-gtk-x86_64.tar.gz"
"eclipse.desktop::https://raw.githubusercontent.com/eclipse-linuxtools/org.eclipse.linuxtools.eclipse-build/refs/heads/master/desktopintegration/eclipse.desktop")
sha512sums=('da602d56b34add410de69ea8674c52da8f9418a064216f3ef9508d8f825d252685daa08e0d2a238dbf96311cd35239aef1b8c8f88c96b234c310f0d635cdff2c'
'824875ab1454349a58eb2bb6fd70edd5e7a8e14a9b999372024374a1e04722398095db9bdba91b17bfb424c1e1271446f0370c79596f35fb516dbada31aebec5')
backup=('usr/lib/eclipse/eclipse.ini')
maintainer=("Matthias Mailänder <matthias@mailaender.name>")
package() {
install -d "${pkgdir}/usr/lib"
cp -r eclipse "${pkgdir}/usr/lib/eclipse"
install -d "${pkgdir}/usr/bin"
ln -s /usr/lib/eclipse/eclipse "${pkgdir}/usr/bin/eclipse"
install -Dm0644 eclipse.desktop "${pkgdir}/usr/share/applications/eclipse.desktop"
for i in 16 22 24 32 48 64 128 256 512 1024; do
install -Dm0644 eclipse/plugins/org.eclipse.platform_"${pkgver}"*/eclipse"${i}".png \
"${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/eclipse.png"
done
}