FS#59327 - [eclipse] New Rust variant available

Attached to Project: Community Packages
Opened by Jean Lucas (flacks) - Friday, 13 July 2018, 21:04 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 17 July 2018, 19:24 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Rust variant now generally available for Eclipse 4.8. Below is a working diff to include it in the build; since it has incubating components, it requires a separate URL/case.

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 8cec7e4..5e00386 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -7,7 +7,7 @@
# Contributor: Marco Crosio <marco.crosio@gmail.com>

pkgbase=eclipse
-pkgname=(eclipse-{common,java,jee,cpp,php,javascript})
+pkgname=(eclipse-{common,java,jee,cpp,php,javascript,rust})
pkgver=4.8
pkgrel=1
_release=photon-R
@@ -22,7 +22,11 @@ noextract=()

for _pkg in ${pkgname[@]}; do
[[ $_pkg == 'eclipse-common' ]] && continue
- source+=(http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/$_pkg-$_release-linux-gtk-x86_64.tar.gz)
+ if [ $_pkg == 'eclipse-rust' ]; then
+ source+=($_pkg-$_release-linux-gtk-x86_64.tar.gz::http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/$_pkg-$_release-incubation-linux-gtk-x86_64.tar.gz)
+ else
+ source+=(http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/${_release/-//}/$_pkg-$_release-linux-gtk-x86_64.tar.gz)
+ fi
noextract+=($_pkg-$_release-linux-gtk-x86_64.tar.gz)
eval "package_$_pkg() { _package $_pkg; }"
done
@@ -32,7 +36,8 @@ sha256sums=('da1eaf6239cb0c2b5009cd8c261e96e7b17a7536b12fe60fcb1e903f5e67dbdc'
'3bd00147fe545d1263dd10cdba9850d1fbeaed463582162bb15ddd0d6cfbd3ee'
'aa6addf9748156402075db28d6fe839bc63e996075c3894550ca367b68e51b01'
'adec5f5a676486d06ad6d2df40c83a754a498f022501b4b055573f7e56549615'
- 'e267b7b52ed16e858f938a4f2a145a422582543d619e4ccba2744a499c6a0a0a')
+ 'e267b7b52ed16e858f938a4f2a145a422582543d619e4ccba2744a499c6a0a0a'
+ 'cf4bb11a656eb4b5002bf51e6bc2841e710571250e97f0671897c18d61308dff')

prepare() {
local pkg
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 17 July 2018, 19:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  eclipse 4.8-2

Loading...