summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/phpstorm/Manifest2
-rw-r--r--dev-util/phpstorm/phpstorm-2016.3.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/phpstorm/Manifest b/dev-util/phpstorm/Manifest
new file mode 100644
index 0000000..7686b3f
--- /dev/null
+++ b/dev-util/phpstorm/Manifest
@@ -0,0 +1,2 @@
+DIST PhpStorm-2016.3.tar.gz 248955785 SHA256 3ea4069ce2a81c2f43638d27b704bb6b84468980c934cfb12b6b74212387f243 SHA512 fa681f4f2cdeb546d7b1301ee57acb5cec66231e01921b6ef3d89c05f0ba1a50887bf56db523191a87e938b8d206860a363aa8ab1d2845a2400a17fdb8f1eb9c WHIRLPOOL 67cb248c8b581a899433da3dd429980839b6d4598a18952ce58ffebbe0232301b81a677ff6246802765d20e122ba4a2e35f2c0e1f8e6a4255b8c3d783d7942f8
+EBUILD phpstorm-2016.3.ebuild 1000 SHA256 ce73df89f6b366b831b7b162f6d2683e88526ff763c79bf52a1490ba6f10f0d2 SHA512 8d50ba5e46127b730f1a382c2ecd39fd168b65b1e3f5397da5e9cde97b64d2ac62f8224cf0a12eca259145e63519a8d6a306807153536f9b9d81613b383c9197 WHIRLPOOL 4ba75eec2cb96ff6b27817bddbdd26edbac437d264137cf8a793329cff1908721cd09529b70edfe9789e0e1f3d12ede5aded94667b167c63454d8fd6bcfa684b
diff --git a/dev-util/phpstorm/phpstorm-2016.3.ebuild b/dev-util/phpstorm/phpstorm-2016.3.ebuild
new file mode 100644
index 0000000..0572f52
--- /dev/null
+++ b/dev-util/phpstorm/phpstorm-2016.3.ebuild
@@ -0,0 +1,46 @@
+EAPI=4
+inherit eutils
+
+#EAP_VERSION='EAP-162.1447.5'
+
+HOMEPAGE="http://www.jetbrains.com/phpstorm/"
+DESCRIPTION="PhpStorm"
+SRC_URI="https://download.jetbrains.com/webide/PhpStorm-${EAP_VERSION:-${PV}}.tar.gz"
+
+if [[ x${EAP_VERSION} != 'x' ]]; then
+ KEYWORDS="x86 amd64"
+else
+ KEYWORDS="~x86 ~amd64"
+fi
+
+PROGNAME="PHP Storm"
+
+RESTRICT="strip mirror"
+DEPEND=">=virtual/jre-1.6"
+SLOT="0"
+S=${WORKDIR}
+
+src_install() {
+ dodir /opt/${PN}
+
+ cd PhpStorm*/
+ sed -i 's/IS_EAP="true"/IS_EAP="false"/' bin/phpstorm.sh
+ insinto /opt/${PN}
+ doins -r *
+
+ fperms a+x /opt/${PN}/bin/phpstorm.sh || die "Chmod failed"
+ fperms a+x /opt/${PN}/bin/fsnotifier || die "Chmod failed"
+ fperms a+x /opt/${PN}/bin/fsnotifier64 || die "Chmod failed"
+ fperms a+x /opt/${PN}/bin/fsnotifier-arm || die "Chmod failed"
+ dosym /opt/${PN}/bin/phpstorm.sh /usr/bin/${PN}
+
+ mv "bin/webide.png" "bin/${PN}.png"
+ doicon "bin/${PN}.png"
+ make_desktop_entry ${PN} "${PROGNAME}" "${PN}"
+}
+
+pkg_postinst() {
+ elog "Run /usr/bin/${PN}"
+}
+
+