aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Bernardo <samuelbernardo.mail@gmail.com>2023-10-18 18:08:13 +0100
committerSamuel Bernardo <samuelbernardo.mail@gmail.com>2023-10-18 18:08:13 +0100
commita720f6670d985950a71ab54669b2f22dced4ca48 (patch)
tree319abf76ba04d83f39fe0d165cfc104aed505931
parentUpdate phpstorm desktop icon configuration (diff)
downloadssnb-a720f6670d985950a71ab54669b2f22dced4ca48.tar.gz
ssnb-a720f6670d985950a71ab54669b2f22dced4ca48.tar.bz2
ssnb-a720f6670d985950a71ab54669b2f22dced4ca48.zip
Correct bug about phpstorm desktop application icon in menu and cleanup image files from bin directory
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
-rw-r--r--dev-util/phpstorm/Manifest2
-rw-r--r--dev-util/phpstorm/phpstorm-2023.2.2.232.9921.55.ebuild9
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-util/phpstorm/Manifest b/dev-util/phpstorm/Manifest
index 9fa448d..4aacb91 100644
--- a/dev-util/phpstorm/Manifest
+++ b/dev-util/phpstorm/Manifest
@@ -1,2 +1,2 @@
DIST PhpStorm-232.9921.55.tar.gz 660770713 BLAKE2B ea9fdd7332f6ac5c842f5498f2505d4bb6edc23c3f9fddcd30951b0b671387c5661b2bdc6b73ef46def114d1d8cdd5c2445fb50433e25b9f87a829e92838efd9 SHA512 7c0e1bad113f52994f086a2b3daeab0a6da7dc456cc87d9eaa20e760cfcec29b608808f35d6f909290d55eda01810dc2085cef3ca64a4958bdf1126b2a35036e
-EBUILD phpstorm-2023.2.2.232.9921.55.ebuild 1106 BLAKE2B 9329ec99fd14f3c382eb2c03e9a7990c8c51f41e67fba85d155c4d5bc582c12ea51d05178751228f9e8a1cc03ae7fa5a4a082cdf49aa022150093ed3c7914906 SHA512 0c07fb040f337c89a4812251ac81b6ea59adaa25df38a74b3ee289aa651efca6624801a57344a0ca1f67a4738361f7aa8d7e1df50c18c4f92dfc93d9d22811a0
+EBUILD phpstorm-2023.2.2.232.9921.55.ebuild 1159 BLAKE2B 8f1824fa293054f2097b6d0d54a79e945bf4aaf2689e44ad7e0f38c4468ac8ad9780ea339e5bd0cd1da1278d25479048aa1cbd5d844c726b0a73830b4529f12f SHA512 d026612f1c1542ccc064c44b0ffe6c01738d5bdc6656cee6984e07782143617871eae63e665a609efe94d41e78587d5372f754c755b73bf13d0f769c148e499e
diff --git a/dev-util/phpstorm/phpstorm-2023.2.2.232.9921.55.ebuild b/dev-util/phpstorm/phpstorm-2023.2.2.232.9921.55.ebuild
index 0ea06bb..f4ad94e 100644
--- a/dev-util/phpstorm/phpstorm-2023.2.2.232.9921.55.ebuild
+++ b/dev-util/phpstorm/phpstorm-2023.2.2.232.9921.55.ebuild
@@ -1,5 +1,7 @@
EAPI=8
+inherit desktop
+
PV_STRING="$(ver_cut 4-6)"
MY_PV="$(ver_cut 1-3)"
MY_PN="PhpStorm"
@@ -32,6 +34,10 @@ src_install() {
cd PhpStorm*/
sed -i 's/IS_EAP="true"/IS_EAP="false"/' bin/phpstorm.sh
+ doicon "bin/${PN}.png"
+ make_desktop_entry ${PN} "${PROGNAME}" "${PN}"
+ rm "bin/${PN}.png" "bin/${PN}.svg"
+
insinto /opt/${PN}
doins -r *
@@ -39,9 +45,6 @@ src_install() {
fperms a+x /opt/${PN}/bin/fsnotifier || die "Chmod failed"
fperms a+x /opt/${PN}/bin/restart.py || die "Chmod failed"
dosym /opt/${PN}/bin/phpstorm.sh /usr/bin/${PN}
-
- doicon "bin/${PN}.png"
- make_desktop_entry ${PN} "${PROGNAME}" "${PN}"
}
pkg_postinst() {