From 0992aa217c7bc136cb87cccb93192771a5685b9b Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Thu, 27 Jun 2019 21:26:24 -0400 Subject: [PATCH] Upgrade IDEA --- src/intellij-idea-ultimate-edition/PKGBUILD | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/intellij-idea-ultimate-edition/PKGBUILD b/src/intellij-idea-ultimate-edition/PKGBUILD index dc0d6e8..a209680 100644 --- a/src/intellij-idea-ultimate-edition/PKGBUILD +++ b/src/intellij-idea-ultimate-edition/PKGBUILD @@ -2,8 +2,8 @@ pkgbase=intellij-idea-ultimate-edition pkgname=(intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre) -pkgver=2018.3.5 -_buildver=183.5912.21 +pkgver=2019.1.2 +_buildver=191.7141.44 pkgrel=1 arch=('any') pkgdesc="An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity." @@ -12,7 +12,7 @@ license=('Commercial') options=(!strip) source=("https://download.jetbrains.com/idea/ideaIU-$pkgver.tar.gz" "jetbrains-idea.desktop") -sha256sums=('b696da5c3521638f83891191f3bd9063d30d0b7ea81ad0bf9500f2b41840d078' +sha256sums=('f090f524c01f1a47bdf2d2cfc9dc6be046137466efa14046916eeb9d1467a81b' '83af2ba8f9f14275a6684e79d6d4bd9b48cd852c047dacfc81324588fa2ff92b') prepare() { @@ -20,10 +20,13 @@ prepare() { mv idea-IU-$_buildver/jre64 "$srcdir"/jre64 } -package() { +package_intellij-idea-ultimate-edition() { backup=("opt/$pkgname/bin/idea.vmoptions" "opt/${pkgname}/bin/idea64.vmoptions" "opt/${pkgname}/bin/idea.properties") depends=('giflib' 'libxtst') - optdepends=('intellij-idea-ultimate-edition-jre: JetBrains custom JRE (Recommended)' 'java-environment: Required if intellij-idea-ultimate-edition-jre is not installed') + optdepends=( + 'intellij-idea-ultimate-edition-jre: JetBrains custom JRE (Recommended)' 'java-environment: Required if intellij-idea-ultimate-edition-jre is not installed' + 'libdbusmenu-glib: For global menu support' + ) cd "$srcdir" @@ -41,4 +44,10 @@ package() { sed -i 's|lcd|on|' "$pkgdir"/opt/$pkgname/bin/*.vmoptions } +package_intellij-idea-ultimate-edition-jre() { + arch=('x86_64') + install -d -m 755 "$pkgdir"/opt/$pkgbase + mv "$srcdir"/jre64 "$pkgdir"/opt/$pkgbase +} + # vim:set ts=2 sw=2 et: