惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
云风的 BLOG
云风的 BLOG
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Announcements
Recent Announcements
IT之家
IT之家
Google DeepMind News
Google DeepMind News
罗磊的独立博客
爱范儿
爱范儿
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
U
Unit 42
MongoDB | Blog
MongoDB | Blog
S
SegmentFault 最新的问题
B
Blog
博客园 - 叶小钗
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - phpstorm-eap
2026-06-18 · via AUR Newest Packages

blackout commented on 2025-07-28 12:38 (UTC) (edited on 2025-07-28 12:51 (UTC) by blackout)

instead of you updating the package all the time you could pull the latest version and checksum and use that one. As soon as people see the "update available"icon in PhpStorm they could just run the build again.


pkgbase=phpstorm-eap
pkgname=(phpstorm-eap phpstorm-eap-jre)
pkgver=252.23892.178  # dummy value, replaced by pkgver()
pkgrel=1
pkgdesc="JetBrains PhpStorm EAP (Early Access Program) - Latest version"
arch=('x86_64')
license=('Commercial')
url='https://www.jetbrains.com/phpstorm/'
depends=('libdbusmenu-glib')
makedepends=('jq' 'curl' 'rsync')
options=('!strip')

_latest_info() {
  curl -s "https://data.services.jetbrains.com/products/releases?code=PS&latest=true&type=eap"
}

_latest_version() {
  _latest_info | jq -r '.PS[0].build'
}

_latest_url() {
  _latest_info | jq -r '.PS[0].downloads.linux.link'
}

_latest_checksum() {
  curl -s "$(_latest_info | jq -r '.PS[0].downloads.linux.checksumLink')" | awk '{print $1}'
}

pkgver() {
  _latest_version
}

# Always fetch the latest tarball under a static name
source=(
  "PhpStorm.tar.gz::$(_latest_url)"
  "jetbrains-phpstorm-eap.desktop"
)
sha256sums=(
  "$(_latest_checksum)"
  '72bffbc2ca1d8c97fb0a18a9493faf6323fef28bf9e38e0c573602d8630982c7'
)

package_phpstorm-eap() {
  optdepends=('phpstorm-eap-jre: JetBrains custom Java Runtime (Recommended)'
              'java-runtime: JRE - Required if phpstorm-eap-jre is not installed'
              'gnome-keyring: save login/deployment credentials safely')

  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/"

  rsync -rtl "${srcdir}/PhpStorm-${pkgver}/" "${pkgdir}/opt/${pkgbase}" --exclude=/jbr

  install -D -m 644 "${srcdir}/jetbrains-${pkgbase}.desktop" "${pkgdir}/usr/share/applications/"
  install -D -m 644 "${pkgdir}/opt/${pkgbase}/bin/phpstorm.svg" "${pkgdir}/usr/share/pixmaps/${pkgbase}.svg"
}

package_phpstorm-eap-jre() {
  install -d -m 755 "${pkgdir}/opt/${pkgbase}"
  rsync -rtl "${srcdir}/PhpStorm-${pkgver}/jbr" "${pkgdir}/opt/${pkgbase}"
}

aliu commented on 2025-04-21 04:39 (UTC)

I would be willing to assist with making such symlinks work.

aliu commented on 2025-04-19 16:58 (UTC)

Since all -jre packages are just the same JetBrains runtime installed in different directories, to avoid duplication and save disk space, would it be possible to separate out the runtime into its own package and make the -jre packages depend on the runtime package and just symlink the directories?

blackout commented on 2024-06-03 06:13 (UTC)

The latest 2 Phpstorm EAP versions don't like to be started via the phpstorm.sh script and complain.

Maybe change that during installation via sed -i 's|Exec="/opt/phpstorm-eap/bin/phpstorm.sh" %f|Exec="/opt/phpstorm-eap/bin/phpstorm" %f|' /usr/share/applications/jetbrains-phpstorm-eap.desktop

mitchhentges commented on 2019-02-04 06:32 (UTC)

I'm having graphics driver issues with Arch, so I'm using Ubuntu. Disowning this package because I no longer have the means to test changes