From 9dae1f7a1de01444e01220f1237f1e4722384e87 Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Fri, 10 Jan 2025 14:15:45 +0700 Subject: [PATCH] add: `rustrover-bin` (#6841) RustRover, another free for non-commercial IDEs from JetBrains for Rust developers. It will added after WebStorm has been merged and after this commit merged, it will closes #6840. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- packagelist | 1 + packages/rustrover-bin/.SRCINFO | 14 ++++++++ .../rustrover-bin/rustrover-bin.pacscript | 35 +++++++++++++++++++ srclist | 15 ++++++++ 4 files changed, 65 insertions(+) create mode 100644 packages/rustrover-bin/.SRCINFO create mode 100644 packages/rustrover-bin/rustrover-bin.pacscript diff --git a/packagelist b/packagelist index 7b248c0cfd..249786120a 100644 --- a/packagelist +++ b/packagelist @@ -508,6 +508,7 @@ rust-bin rust-bindgen-git rust-motd-deb rustdesk-deb +rustrover-bin schildichat-deb scrcpy sed diff --git a/packages/rustrover-bin/.SRCINFO b/packages/rustrover-bin/.SRCINFO new file mode 100644 index 0000000000..ee73c56bcb --- /dev/null +++ b/packages/rustrover-bin/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = rustrover-bin + gives = rustrover + pkgver = 2024.3.2 + pkgdesc = A powerhouse IDE for Rust developers + arch = amd64 + arch = arm64 + maintainer = James Ed Randson + repology = project: rustrover + source_amd64 = https://download.jetbrains.com/rustrover/RustRover-2024.3.2.tar.gz + sha256sums_amd64 = c6549572baa913c9842b0227257f7477531269393d5989622a3d0b802b999bf8 + source_arm64 = https://download.jetbrains.com/rustrover/RustRover-2024.3.2-aarch64.tar.gz + sha256sums_arm64 = d5187d7d449d1b1ec6ff2699c0ccdb3c3280841360d3f43c0318a41b865064c8 + +pkgname = rustrover-bin diff --git a/packages/rustrover-bin/rustrover-bin.pacscript b/packages/rustrover-bin/rustrover-bin.pacscript new file mode 100644 index 0000000000..bc651383ac --- /dev/null +++ b/packages/rustrover-bin/rustrover-bin.pacscript @@ -0,0 +1,35 @@ +pkgname="rustrover-bin" +pkgver="2024.3.2" +gives="rustrover" +arch=("amd64" "arm64") +maintainer=("James Ed Randson ") +pkgdesc="A powerhouse IDE for Rust developers" +source_amd64=("https://download.jetbrains.com/${gives}/RustRover-${pkgver}.tar.gz") +sha256sums_amd64=("c6549572baa913c9842b0227257f7477531269393d5989622a3d0b802b999bf8") +source_arm64=("https://download.jetbrains.com/${gives}/RustRover-${pkgver}-aarch64.tar.gz") +sha256sums_arm64=("d5187d7d449d1b1ec6ff2699c0ccdb3c3280841360d3f43c0318a41b865064c8") +repology=("project: rustrover") + +package() { + cd "${srcdir}/RustRover-${pkgver}" + mkdir -p "${pkgdir}/usr/share/licenses/rustrover/" + mkdir -p "${pkgdir}/usr/share/rustrover/" + mkdir -p "${pkgdir}/usr/share/pixmaps" + cp -dr --no-preserve='ownership' bin jbr lib modules plugins product-info.json "${pkgdir}/usr/share/rustrover/" + cp -dr --no-preserve='ownership' license "${pkgdir}/usr/share/licenses/rustrover/" + cp -dr "${pkgdir}/usr/share/rustrover/bin/rustrover.png" "${pkgdir}/usr/share/pixmaps/" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/usr/share/rustrover/bin/rustrover.sh" "${pkgdir}/usr/bin/rustrover" + mkdir -p "${pkgdir}/usr/share/applications/" + cat << EOF > "${pkgdir}/usr/share/applications/rustrover.desktop" +[Desktop Entry] +Type=Application +Name=RustRover +Icon=rustrover +Exec=/usr/share/rustrover/bin/rustrover +Comment=A powerhouse IDE for Rust developers +Categories=Development;IDE; +Terminal=false +StartupWMClass=jetbrains-webstorm +EOF +} diff --git a/srclist b/srclist index ee703b754a..50d26c8c27 100644 --- a/srclist +++ b/srclist @@ -10185,6 +10185,21 @@ pkgbase = rustdesk-deb pkgname = rustdesk-deb --- +pkgbase = rustrover-bin + gives = rustrover + pkgver = 2024.3.2 + pkgdesc = A powerhouse IDE for Rust developers + arch = amd64 + arch = arm64 + maintainer = James Ed Randson + repology = project: rustrover + source_amd64 = https://download.jetbrains.com/rustrover/RustRover-2024.3.2.tar.gz + sha256sums_amd64 = c6549572baa913c9842b0227257f7477531269393d5989622a3d0b802b999bf8 + source_arm64 = https://download.jetbrains.com/rustrover/RustRover-2024.3.2-aarch64.tar.gz + sha256sums_arm64 = d5187d7d449d1b1ec6ff2699c0ccdb3c3280841360d3f43c0318a41b865064c8 + +pkgname = rustrover-bin +--- pkgbase = schildichat-deb gives = schildichat-desktop pkgver = 1.11.30-sc.2