From a363c5c930610e9ff1d073a7a618e0fdb4b85dcf Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Wed, 11 Dec 2024 09:30:16 +0700 Subject: [PATCH 01/16] Create webstorm-bin.pacscript (New file dude) --- packages/webstorm-bin/webstorm-bin.pacscript | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 packages/webstorm-bin/webstorm-bin.pacscript diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript new file mode 100644 index 0000000000..8073cdffea --- /dev/null +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -0,0 +1,37 @@ +pkgname="webstorm-bin" +pkgver="2024.3.1" +gives="webstorm" +arch=("amd64" "arm64") +maintainer=("James Ed Randson ") +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" +) +repology=("project: webstorm") + +package() { + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/licenses/webstorm" + mkdir -p "${pkgdir}/usr/share/webstorm" + mkdir -p "${pkgdir}/usr/share/pixmaps" + 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" +} From de0108e8fde90cf7c65f4a214eb0e95da9e6fa61 Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Wed, 11 Dec 2024 09:30:52 +0700 Subject: [PATCH 02/16] Create .SRCINFO (Let pre-commit compile it) --- packages/webstorm-bin/.SRCINFO | 1 + 1 file changed, 1 insertion(+) create mode 100644 packages/webstorm-bin/.SRCINFO diff --git a/packages/webstorm-bin/.SRCINFO b/packages/webstorm-bin/.SRCINFO new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/packages/webstorm-bin/.SRCINFO @@ -0,0 +1 @@ + From 145b4785f237dbaed1b659f3e075bed7585c8c3f Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Wed, 11 Dec 2024 09:31:38 +0700 Subject: [PATCH 03/16] Add requirement shortcuts --- packages/webstorm-bin/webstorm.desktop | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/webstorm-bin/webstorm.desktop diff --git a/packages/webstorm-bin/webstorm.desktop b/packages/webstorm-bin/webstorm.desktop new file mode 100644 index 0000000000..90051df789 --- /dev/null +++ b/packages/webstorm-bin/webstorm.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Icon=webstorm +Name=WebStorm +Exec=webstorm +Path=/usr/share/webstorm/bin +Terminal=false +Hidden=false +Categories=IDE;Development From 2fc29e420392ab8c8d9561e2f43a9b853aecd11a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 02:35:05 +0000 Subject: [PATCH 04/16] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- packagelist | 1 + packages/webstorm-bin/.SRCINFO | 17 +++++++++++++++++ srclist | 19 +++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/packagelist b/packagelist index 281962f00f..0b958e875c 100644 --- a/packagelist +++ b/packagelist @@ -611,6 +611,7 @@ waynergy webapp-manager webapp-manager-deb webcord-deb +webstorm-bin webtorrent-desktop-deb weechat-git wezterm-app diff --git a/packages/webstorm-bin/.SRCINFO b/packages/webstorm-bin/.SRCINFO index 8b13789179..e2648f4e8a 100644 --- a/packages/webstorm-bin/.SRCINFO +++ b/packages/webstorm-bin/.SRCINFO @@ -1 +1,18 @@ +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 + repology = project: webstorm + source_amd64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1.tar.gz + source_amd64 = webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/webstorm-bin/webstorm.desktop + sha256sums_amd64 = f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018 + sha256sums_amd64 = 60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109 + source_arm64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1-aarch64.tar.gz + source_arm64 = webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/webstorm-bin/webstorm.desktop + sha256sums_arm64 = e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3 + sha256sums_arm64 = 60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109 +pkgname = webstorm-bin diff --git a/srclist b/srclist index 7dfd5bd0f9..704029a67a 100644 --- a/srclist +++ b/srclist @@ -12375,6 +12375,25 @@ 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 + repology = project: webstorm + source_amd64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1.tar.gz + source_amd64 = webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/webstorm-bin/webstorm.desktop + sha256sums_amd64 = f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018 + sha256sums_amd64 = 60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109 + source_arm64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1-aarch64.tar.gz + source_arm64 = webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/webstorm-bin/webstorm.desktop + sha256sums_arm64 = e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3 + sha256sums_arm64 = 60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109 + +pkgname = webstorm-bin +--- pkgbase = webtorrent-desktop-deb gives = webtorrent-desktop pkgver = 0.24.0 From d61d50da6128b5dc5216a97eb6dc294422e0b431 Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Wed, 11 Dec 2024 09:44:10 +0700 Subject: [PATCH 05/16] Delete the shortcut (And I'll update the pacscripts) --- packages/webstorm-bin/webstorm.desktop | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 packages/webstorm-bin/webstorm.desktop diff --git a/packages/webstorm-bin/webstorm.desktop b/packages/webstorm-bin/webstorm.desktop deleted file mode 100644 index 90051df789..0000000000 --- a/packages/webstorm-bin/webstorm.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -Icon=webstorm -Name=WebStorm -Exec=webstorm -Path=/usr/share/webstorm/bin -Terminal=false -Hidden=false -Categories=IDE;Development From 0fdf12dd1a4991e56cff78f24098dc7fb2dd41c3 Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Wed, 11 Dec 2024 09:47:54 +0700 Subject: [PATCH 06/16] Update webstorm-bin.pacscript (A revised pacscripts) --- packages/webstorm-bin/webstorm-bin.pacscript | 34 ++++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index 8073cdffea..5093c1c1d0 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -5,22 +5,10 @@ arch=("amd64" "arm64") maintainer=("James Ed Randson ") 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 < "${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 } From d191ba8caa6b697b942c87eb24a52a0a0c467045 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 02:49:19 +0000 Subject: [PATCH 07/16] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- packages/webstorm-bin/.SRCINFO | 4 ---- packages/webstorm-bin/webstorm-bin.pacscript | 2 +- srclist | 4 ---- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/webstorm-bin/.SRCINFO b/packages/webstorm-bin/.SRCINFO index e2648f4e8a..eda9301d0a 100644 --- a/packages/webstorm-bin/.SRCINFO +++ b/packages/webstorm-bin/.SRCINFO @@ -7,12 +7,8 @@ pkgbase = webstorm-bin maintainer = James Ed Randson repology = project: webstorm source_amd64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1.tar.gz - source_amd64 = webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/webstorm-bin/webstorm.desktop sha256sums_amd64 = f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018 - sha256sums_amd64 = 60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109 source_arm64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1-aarch64.tar.gz - source_arm64 = webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/webstorm-bin/webstorm.desktop sha256sums_arm64 = e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3 - sha256sums_arm64 = 60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109 pkgname = webstorm-bin diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index 5093c1c1d0..0f1791ac54 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -22,7 +22,7 @@ package() { mkdir -p "${pkgdir}/usr/bin" ln -sf "/usr/share/webstorm/bin/webstorm.sh" "${pkgdir}/usr/bin/webstorm" mkdir -p "${pkgdir}/usr/share/applications/" - cat < "${pkgdir}/usr/share/applications/webstorm.desktop" + cat << EOF > "${pkgdir}/usr/share/applications/webstorm.desktop" [Desktop Entry] Version=1.0 Type=Application diff --git a/srclist b/srclist index 704029a67a..c74b22fd85 100644 --- a/srclist +++ b/srclist @@ -12384,13 +12384,9 @@ pkgbase = webstorm-bin maintainer = James Ed Randson repology = project: webstorm source_amd64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1.tar.gz - source_amd64 = webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/webstorm-bin/webstorm.desktop sha256sums_amd64 = f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018 - sha256sums_amd64 = 60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109 source_arm64 = https://download.jetbrains.com/webstorm/WebStorm-2024.3.1-aarch64.tar.gz - source_arm64 = webstorm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/webstorm-bin/webstorm.desktop sha256sums_arm64 = e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3 - sha256sums_arm64 = 60da41b73046592dc9eeab0b4c52404edce4fbba94ed98d9df0f181234921109 pkgname = webstorm-bin --- From de9d8f5a84a79e323e5ebb258ba5943d75b66c35 Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Thu, 12 Dec 2024 11:23:34 +0700 Subject: [PATCH 08/16] Update packages/webstorm-bin/webstorm-bin.pacscript Co-authored-by: Elsie --- packages/webstorm-bin/webstorm-bin.pacscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index 0f1791ac54..af64b6a041 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -4,12 +4,12 @@ gives="webstorm" arch=("amd64" "arm64") maintainer=("James Ed Randson ") 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") sha256sums_amd64=("f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16018") source_arm64=("https://download.jetbrains.com/${gives}/WebStorm-${pkgver}-aarch64.tar.gz") sha256sums_arm64=("e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3") repology=("project: webstorm") +external_connection=true package() { cd "${_archive}" From 7d47295cbd9e29588992881e1c7a054a5da1ae78 Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Thu, 12 Dec 2024 11:26:51 +0700 Subject: [PATCH 09/16] Update webstorm-bin.pacscript (Follow the suggestions) --- packages/webstorm-bin/webstorm-bin.pacscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index af64b6a041..01db65a0b2 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -12,7 +12,7 @@ repology=("project: webstorm") external_connection=true package() { - cd "${_archive}" + cd "${srcdir}/${_archive}" mkdir -p "${pkgdir}/usr/share/licenses/webstorm" mkdir -p "${pkgdir}/usr/share/webstorm" mkdir -p "${pkgdir}/usr/share/pixmaps" From ea436f680b597d6b7b926fd6074653d92df0b80f Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Thu, 12 Dec 2024 11:56:45 +0700 Subject: [PATCH 10/16] Update webstorm-bin.pacscript (Fix the `package()` arguments) --- packages/webstorm-bin/webstorm-bin.pacscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index 01db65a0b2..f42d74ea95 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -12,11 +12,11 @@ repology=("project: webstorm") external_connection=true package() { - cd "${srcdir}/${_archive}" + cd "${srcdir}/webstorm-${pkgver}" mkdir -p "${pkgdir}/usr/share/licenses/webstorm" mkdir -p "${pkgdir}/usr/share/webstorm" mkdir -p "${pkgdir}/usr/share/pixmaps" - cp -dr --no-preserve='ownership' bin jbr lib plugins "${pkgdir}/usr/share/webstorm/" + 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" From d743e70172604239e8cdb3ec8fa867a061d157df Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Thu, 12 Dec 2024 12:02:15 +0700 Subject: [PATCH 11/16] Fix it again --- packages/webstorm-bin/webstorm-bin.pacscript | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index f42d74ea95..f150853158 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -12,15 +12,26 @@ repology=("project: webstorm") external_connection=true package() { - cd "${srcdir}/webstorm-${pkgver}" + cd "${srcdir}/WebStorm-243.22562.112" || { echo "Directory not found"; exit 1; } + 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 + 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] From 4f2ad78294c00bb48b9523bde95932facb4ae211 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 05:03:40 +0000 Subject: [PATCH 12/16] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- packages/webstorm-bin/webstorm-bin.pacscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index f150853158..08dd4bb4e3 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -12,7 +12,10 @@ repology=("project: webstorm") external_connection=true package() { - cd "${srcdir}/WebStorm-243.22562.112" || { echo "Directory not found"; exit 1; } + cd "${srcdir}/WebStorm-243.22562.112" || { + echo "Directory not found" + exit 1 + } mkdir -p "${pkgdir}/usr/share/licenses/webstorm" mkdir -p "${pkgdir}/usr/share/webstorm" From 6ecc3a28c3438e8713f1c18665f3782713ff8b6f Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Thu, 12 Dec 2024 12:32:05 +0700 Subject: [PATCH 13/16] Update webstorm-bin.pacscript (Fix the problems from what pre-commit tells it) From 3b742adf2592c5b11a70b85c685ffcf52cf32cda Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Tue, 17 Dec 2024 07:34:12 +0700 Subject: [PATCH 14/16] Update webstorm-bin.pacscript (Remove the guards) From 3e42249c061fd3b0f2c20355747d72ee64121b7e Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Tue, 17 Dec 2024 07:39:57 +0700 Subject: [PATCH 15/16] Update webstorm-bin.pacscript (Cleaning the problems) --- packages/webstorm-bin/webstorm-bin.pacscript | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index 08dd4bb4e3..ea8317756a 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -12,29 +12,15 @@ repology=("project: webstorm") external_connection=true package() { - cd "${srcdir}/WebStorm-243.22562.112" || { - echo "Directory not found" - exit 1 - } - + cd "${srcdir}/WebStorm-243.22562.112" 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 - 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] From 29b11994223fafefbce49a0d1420591782b56a5c Mon Sep 17 00:00:00 2001 From: "James \"Jim\" Ed Randson" <053476233@ecampus.ut.ac.id> Date: Wed, 18 Dec 2024 06:26:45 +0700 Subject: [PATCH 16/16] Update webstorm-bin.pacscript (Remove `external_connection`) --- packages/webstorm-bin/webstorm-bin.pacscript | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/webstorm-bin/webstorm-bin.pacscript b/packages/webstorm-bin/webstorm-bin.pacscript index ea8317756a..4dda5ebbd2 100644 --- a/packages/webstorm-bin/webstorm-bin.pacscript +++ b/packages/webstorm-bin/webstorm-bin.pacscript @@ -9,7 +9,6 @@ sha256sums_amd64=("f9122a02312bee9d06c77774cad37b32ac0dcbc460af4ac8b8059a1780d16 source_arm64=("https://download.jetbrains.com/${gives}/WebStorm-${pkgver}-aarch64.tar.gz") sha256sums_arm64=("e1b34cf2456233f6a7aa079e7c2af23bc88d4b29bbddcf6d7a5b4e0432e38db3") repology=("project: webstorm") -external_connection=true package() { cd "${srcdir}/WebStorm-243.22562.112"