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

推荐订阅源

D
Docker
月光博客
月光博客
B
Blog RSS Feed
C
Check Point Blog
WordPress大学
WordPress大学
T
Tailwind CSS Blog
GbyAI
GbyAI
H
Help Net Security
Y
Y Combinator Blog
I
InfoQ
雷峰网
雷峰网
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
美团技术团队
博客园 - 三生石上(FineUI控件)
MongoDB | Blog
MongoDB | Blog
Jina AI
Jina AI
A
About on SuperTechFans
G
Google Developers Blog
爱范儿
爱范儿
F
Fortinet All Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
人人都是产品经理
人人都是产品经理

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