# Maintainer: Oliver Kahrmann # Contributor: David Baum pkgname=eclipse-installer pkgver=2024.03 pkgrel=1 pkgdesc="Automates the installation and update of Eclipse development environments" arch=('aarch64' 'x86_64') url="https://wiki.eclipse.org/Eclipse_Installer" license=("EPL") depends=("java-runtime>=17" "unzip" "webkit2gtk") options=(!strip) source=( 'eclipse-installer.desktop' ) source_x86_64=( 'https://mirrors.dotsrc.org/eclipse/oomph/epp/2024-03/R/eclipse-inst-linux64.tar.gz' ) source_aarch64=( 'https://mirrors.dotsrc.org/eclipse/oomph/epp/2024-03/R/eclipse-inst-linux-aarch64.tar.gz' ) sha256sums=( 'c7d6a0bd5dad627dd15ac9d7e6e04c8c8a4b811ce4b0744212a487bc4f6c0cdf' ) sha256sums_x86_64=( '33f1721ab46177266291d57610bed27ff81aaf3551ea97e3ef7f08fc24971af6' ) sha256sums_aarch64=( '704f888ab4bf476de4b0532f47aa15bd2a96c2717ffcf7169ad98d321e194d45' ) package() { install -d ${pkgdir}/opt/${pkgname} cp -a "${srcdir}"/eclipse-installer/* "${pkgdir}"/opt/${pkgname} install -d "${pkgdir}"/usr/bin/ ln -s /opt/${pkgname}/eclipse-inst "${pkgdir}"/usr/bin/${pkgname} install -d "${pkgdir}"/usr/share/icons/hicolor/256x256/apps ln -s "${srcdir}"/eclipse-installer/icon.xpm "${pkgdir}"/usr/share/icons/hicolor/256x256/apps/eclipse-installer.xpm install -d "${pkgdir}"/usr/share/applications cp "${srcdir}"/eclipse-installer.desktop "${pkgdir}"/usr/share/applications/. install -d "${pkgdir}"/usr/share/doc/${pkgname} ln -s /opt/${pkgname}/readme/readme_eclipse.html "${pkgdir}"/usr/share/doc/${pkgname}/readme_eclipse.html }