Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: webstorm-bin #6751

Merged
merged 20 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a363c5c
Create webstorm-bin.pacscript (New file dude)
jimed-rand Dec 11, 2024
de0108e
Create .SRCINFO (Let pre-commit compile it)
jimed-rand Dec 11, 2024
145b478
Add requirement shortcuts
jimed-rand Dec 11, 2024
2fc29e4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 11, 2024
d61d50d
Delete the shortcut (And I'll update the pacscripts)
jimed-rand Dec 11, 2024
0fdf12d
Update webstorm-bin.pacscript (A revised pacscripts)
jimed-rand Dec 11, 2024
d191ba8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 11, 2024
de9d8f5
Update packages/webstorm-bin/webstorm-bin.pacscript
jimed-rand Dec 12, 2024
7d47295
Update webstorm-bin.pacscript (Follow the suggestions)
jimed-rand Dec 12, 2024
6321bc4
Merge branch 'master' into webstorm
jimed-rand Dec 12, 2024
ea436f6
Update webstorm-bin.pacscript (Fix the `package()` arguments)
jimed-rand Dec 12, 2024
d743e70
Fix it again
jimed-rand Dec 12, 2024
4f2ad78
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 12, 2024
6ecc3a2
Update webstorm-bin.pacscript (Fix the problems from what pre-commit …
jimed-rand Dec 12, 2024
7ad18a6
Merge branch 'master' into webstorm
jimed-rand Dec 12, 2024
b937fbc
Merge branch 'master' into webstorm
jimed-rand Dec 14, 2024
8cac7de
Merge branch 'master' into webstorm
jimed-rand Dec 16, 2024
3b742ad
Update webstorm-bin.pacscript (Remove the guards)
jimed-rand Dec 17, 2024
3e42249
Update webstorm-bin.pacscript (Cleaning the problems)
jimed-rand Dec 17, 2024
29b1199
Update webstorm-bin.pacscript (Remove `external_connection`)
jimed-rand Dec 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ waynergy
webapp-manager
webapp-manager-deb
webcord-deb
webstorm-bin
webtorrent-desktop-deb
weechat-git
wezterm-app
Expand Down
14 changes: 14 additions & 0 deletions packages/webstorm-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pkgbase = webstorm-bin
gives = webstorm
pkgver = 2024.3.1
pkgdesc = Powerful and versatile IDE for JavaScript, TypeScript, HTML, CSS, React, Angular, Vue, and Node.js development.
arch = amd64
arch = arm64
maintainer = James Ed Randson <[email protected]>
repology = project: webstorm
source_amd64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1.tar.gz
sha256sums_amd64 = f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018
source_arm64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1-aarch64.tar.gz
sha256sums_arm64 = e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3

pkgname = webstorm-bin
51 changes: 51 additions & 0 deletions packages/webstorm-bin/webstorm-bin.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
pkgname="webstorm-bin"
pkgver="2024.3.1"
gives="webstorm"
arch=("amd64" "arm64")
maintainer=("James Ed Randson <[email protected]>")
pkgdesc="Powerful and versatile IDE for JavaScript, TypeScript, HTML, CSS, React, Angular, Vue, and Node.js development."
source_amd64=("https://download.jetbrains.com/${gives}/WebStorm-${pkgver}.tar.gz")
sha256sums_amd64=("f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018")
source_arm64=("https://download.jetbrains.com/${gives}/WebStorm-${pkgver}-aarch64.tar.gz")
sha256sums_arm64=("e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3")
repology=("project: webstorm")
jimed-rand marked this conversation as resolved.
Show resolved Hide resolved
external_connection=true
jimed-rand marked this conversation as resolved.
Show resolved Hide resolved

package() {
cd "${srcdir}/WebStorm-243.22562.112" || {
echo "Directory not found"
exit 1
}
jimed-rand marked this conversation as resolved.
Show resolved Hide resolved

mkdir -p "${pkgdir}/usr/share/licenses/webstorm"
mkdir -p "${pkgdir}/usr/share/webstorm"
mkdir -p "${pkgdir}/usr/share/pixmaps"

for item in bin jbr lib plugins product-info.json license; do
if [ ! -e "$item" ]; then
echo "Error: $item not found"
exit 1
fi
jimed-rand marked this conversation as resolved.
Show resolved Hide resolved
done

cp -dr --no-preserve='ownership' bin jbr lib plugins product-info.json "${pkgdir}/usr/share/webstorm/"
cp -dr --no-preserve='ownership' license "${pkgdir}/usr/share/licenses/webstorm/"
cp -dr "${pkgdir}/usr/share/webstorm/bin/webstorm.png" "${pkgdir}/usr/share/pixmaps/"

mkdir -p "${pkgdir}/usr/bin"
ln -sf "/usr/share/webstorm/bin/webstorm.sh" "${pkgdir}/usr/bin/webstorm"

mkdir -p "${pkgdir}/usr/share/applications/"
cat << EOF > "${pkgdir}/usr/share/applications/webstorm.desktop"
[Desktop Entry]
Version=1.0
Type=Application
Name=WebStorm
Icon=webstorm
Exec=/usr/share/webstorm/bin/webstorm.sh
Comment=Powerful and versatile IDE for JavaScript, TypeScript, HTML, CSS, React, Angular, Vue, and Node.js development.
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-webstorm
EOF
}
15 changes: 15 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -12405,6 +12405,21 @@ pkgbase = webcord-deb

pkgname = webcord-deb
---
pkgbase = webstorm-bin
gives = webstorm
pkgver = 2024.3.1
pkgdesc = Powerful and versatile IDE for JavaScript, TypeScript, HTML, CSS, React, Angular, Vue, and Node.js development.
arch = amd64
arch = arm64
maintainer = James Ed Randson <[email protected]>
repology = project: webstorm
source_amd64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1.tar.gz
sha256sums_amd64 = f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018
source_arm64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1-aarch64.tar.gz
sha256sums_arm64 = e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3

pkgname = webstorm-bin
---
pkgbase = webtorrent-desktop-deb
gives = webtorrent-desktop
pkgver = 0.24.0
Expand Down
Loading