Created
November 24, 2016 14:12
-
-
Save meridius/9331c387ba0f4431c127469fcc11b248 to your computer and use it in GitHub Desktop.
https://aur.archlinux.org/packages/phpstorm version 2016.3
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
# Maintainer: Frederik Schwan <frederik dot schwan at linux dot com> | |
# Contributor: Vlad M. <vlad@archlinux.net> | |
# Contributor: Attila Bukor <r1pp3rj4ck[at]w4it[dot]eu> | |
# Contributor: D. Can Celasun <dcelasun[at]gmail[dot]com> | |
# Contributor: Slava Volkov <sv99sv[at]gmail[dot]com> | |
pkgname=phpstorm | |
_pkgname=PhpStorm | |
pkgver=2016.3 | |
_pkgver=163.7743.50 | |
pkgrel=1 | |
pkgdesc="Lightweight and Smart PHP IDE" | |
arch=('x86_64' 'i686') | |
options=('!strip') | |
url="http://www.jetbrains.com/${pkgname}/" | |
license=('Commercial') | |
optdepends=('java-environment>=8: use system java' | |
'java-runtime-common: use system java') | |
source=(https://download.jetbrains.com/webide/${_pkgname}-${pkgver}.tar.gz | |
jetbrains-phpstorm.desktop) | |
sha512sums=('fa681f4f2cdeb546d7b1301ee57acb5cec66231e01921b6ef3d89c05f0ba1a50887bf56db523191a87e938b8d206860a363aa8ab1d2845a2400a17fdb8f1eb9c' | |
'b258ff195aa7d49e2e8e7b3eda4fc5d69f09e287411d912d8961b787d69b5d0f327589fc2cdce442edbaee7c685eadf2bf6d54d3ae5c720ba02bd1b5cdba3e74') | |
package() { | |
install -d -m 755 ${pkgdir}/opt/ | |
install -d -m 755 ${pkgdir}/usr/bin/ | |
install -d -m 755 ${pkgdir}/usr/share/applications/ | |
install -d -m 755 ${pkgdir}/usr/share/pixmaps/ | |
cp -a ${srcdir}/${_pkgname}-${_pkgver} $pkgdir/opt/${pkgname} | |
# if using system java you may remove the bundled jre and save about 100M | |
#rm -rf $pkgdir/opt/${pkgname}/jre | |
ln -s /opt/$pkgname/bin/${pkgname}.sh $pkgdir/usr/bin/${pkgname} | |
install -D -m 644 ${srcdir}/jetbrains-${pkgname}.desktop ${pkgdir}/usr/share/applications/ | |
install -D -m 644 "${pkgdir}/opt/${pkgname}/bin/phpstorm.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" | |
} |
the icon problem can be fixed by changing /usr/share/applications/jetbrains-phpstorm.desktop
according to https://gist.github.com/JHeimbach/470b3d62ff77953673a2ba5253b78c10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there is a problem with
phpstorm.png
being displayed as blank in Gnome Shell