-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update webstorm-bin.pacscript (A revised pacscripts)
- Loading branch information
1 parent
d61d50d
commit 0fdf12d
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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() { | ||
|
@@ -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 | ||
} |