Skip to content

Commit

Permalink
Update webstorm-bin.pacscript (A revised pacscripts)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimed-rand authored Dec 11, 2024
1 parent d61d50d commit 0fdf12d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions packages/webstorm-bin/webstorm-bin.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,10 @@ 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."
external_connection="true"
source_amd64=(
"https://download.jetbrains.com/${gives}/WebStorm-${pkgver}.tar.gz"
"webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/webstorm.desktop"
)
sha256sums_amd64=(
"f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018"
"60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109"
)
source_arm64=(
"https://download.jetbrains.com/${gives}/WebStorm-${pkgver}-aarch64.tar.gz"
"webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/webstorm.desktop"
)
sha256sums_arm64=(
"e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3"
"60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109"
)
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")

package() {
Expand All @@ -31,7 +19,19 @@ package() {
cp -dr --no-preserve='ownership' bin jbr lib plugins "${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/"
install -Dm 644 "${srcdir}"/webstorm.desktop -t "${pkgdir}"/usr/share/applications/
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
}

0 comments on commit 0fdf12d

Please sign in to comment.