mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-11-21 16:25:00 -05:00
Update jdk and idea
This commit is contained in:
parent
767f842ed1
commit
a1b62586aa
@ -1,19 +1,18 @@
|
|||||||
# Maintainer: Urs Wolfer <uwolfer @ fwo.ch>
|
# Maintainer: Urs Wolfer <uwolfer @ fwo.ch>
|
||||||
|
|
||||||
pkgbase=intellij-idea-ultimate-edition
|
pkgbase=intellij-idea-ultimate-edition
|
||||||
pkgname=(intellij-idea-ultimate-edition)
|
pkgname=(intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre)
|
||||||
pkgver=2017.3
|
pkgver=2017.3.4
|
||||||
_buildver=173.3727.127
|
_buildver=173.4548.28
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('any')
|
arch=('any')
|
||||||
pkgdesc="An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity."
|
pkgdesc="An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity."
|
||||||
url="https://www.jetbrains.com/idea/"
|
url="https://www.jetbrains.com/idea/"
|
||||||
license=('Commercial')
|
license=('Commercial')
|
||||||
options=(!strip)
|
options=(!strip)
|
||||||
install=$pkgbase.install
|
|
||||||
source=("https://download.jetbrains.com/idea/ideaIU-$pkgver.tar.gz"
|
source=("https://download.jetbrains.com/idea/ideaIU-$pkgver.tar.gz"
|
||||||
"jetbrains-idea.desktop")
|
"jetbrains-idea.desktop")
|
||||||
sha256sums=('f75db2b4014d115f185bf867a1e5a6b4dae289444bf74e46b58ad2844e07d325'
|
sha256sums=('d1f33796fa317c04e0618a9bd329f944355c3374011815c398384ca5cc57bfbc'
|
||||||
'83af2ba8f9f14275a6684e79d6d4bd9b48cd852c047dacfc81324588fa2ff92b')
|
'83af2ba8f9f14275a6684e79d6d4bd9b48cd852c047dacfc81324588fa2ff92b')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
@ -31,6 +30,9 @@ package_intellij-idea-ultimate-edition() {
|
|||||||
install -d "$pkgdir"/{opt/$pkgname,usr/bin}
|
install -d "$pkgdir"/{opt/$pkgname,usr/bin}
|
||||||
mv idea-IU-${_buildver}/* "$pkgdir"/opt/$pkgbase
|
mv idea-IU-${_buildver}/* "$pkgdir"/opt/$pkgbase
|
||||||
|
|
||||||
|
# https://youtrack.jetbrains.com/issue/IDEA-185828
|
||||||
|
chmod +x "$pkgdir"/opt/$pkgbase/plugins/maven/lib/maven3/bin/mvn
|
||||||
|
|
||||||
ln -s /opt/$pkgname/bin/idea.sh "$pkgdir"/usr/bin/$pkgname
|
ln -s /opt/$pkgname/bin/idea.sh "$pkgdir"/usr/bin/$pkgname
|
||||||
install -D -m644 "$srcdir"/jetbrains-idea.desktop "$pkgdir"/usr/share/applications/jetbrains-idea.desktop
|
install -D -m644 "$srcdir"/jetbrains-idea.desktop "$pkgdir"/usr/share/applications/jetbrains-idea.desktop
|
||||||
install -D -m644 "$pkgdir"/opt/$pkgbase/bin/idea.png "$pkgdir"/usr/share/pixmaps/"$pkgname".png
|
install -D -m644 "$pkgdir"/opt/$pkgbase/bin/idea.png "$pkgdir"/usr/share/pixmaps/"$pkgname".png
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
post_upgrade() {
|
|
||||||
echo -e "\033[0;33m\033[1m\tWarning:\033[0m Install location has moved to /opt!"
|
|
||||||
echo -e "\tIf you have modified *.vmoptions or idea.properties, you will need to move them to the new directory by running:\n"
|
|
||||||
echo -e "\tsudo cp -a /usr/share/intellij-idea-ultimate-edition/bin/{*.vmoptions, idea.properties} /opt/intellij-idea-ultimate-edition/bin/"
|
|
||||||
}
|
|
@ -3,7 +3,7 @@
|
|||||||
_pkgname=jdk
|
_pkgname=jdk
|
||||||
pkgname=jdk-devel
|
pkgname=jdk-devel
|
||||||
_major=10
|
_major=10
|
||||||
_build=33
|
_build=43
|
||||||
pkgver=${_major}b${_build}
|
pkgver=${_major}b${_build}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Oracle Java $_major Development Kit Snapshot"
|
pkgdesc="Oracle Java $_major Development Kit Snapshot"
|
||||||
@ -36,13 +36,13 @@ backup=("etc/java-$_jname/management/jmxremote.access"
|
|||||||
"etc/java-$_jname/sound.properties")
|
"etc/java-$_jname/sound.properties")
|
||||||
options=('!strip') # JDK debug-symbols
|
options=('!strip') # JDK debug-symbols
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
source=("http://download.java.net/java/jdk${_major}/archive/${_build}/binaries/${_pkgname}-${_major}-ea+${_build}_linux-x64_bin.tar.gz"
|
source=("https://download.java.net/java/jdk${_major}/archive/${_build}/BCL/${_pkgname}-${_major}+${_build}_linux-x64_bin.tar.gz"
|
||||||
"jconsole-$_jname.desktop"
|
"jconsole-$_jname.desktop"
|
||||||
"jmc-$_jname.desktop"
|
"jmc-$_jname.desktop"
|
||||||
"jvisualvm-$_jname.desktop"
|
"jvisualvm-$_jname.desktop"
|
||||||
"policytool-$_jname.desktop"
|
"policytool-$_jname.desktop"
|
||||||
'LICENSE-Early-Adopter-Development-Agreement.txt')
|
'LICENSE-Early-Adopter-Development-Agreement.txt')
|
||||||
sha256sums=('b10905acca44c372533e57871e18a927a9f791bfce7a0223d2e7b38ed4c2d8aa'
|
sha256sums=('ecfa54b83f7df99eeb838e0a162eb4cb1043c6cc78e0abf8b651aaac5a54d841'
|
||||||
'2e429abf6f14f506f8caa643eeed10921ef3c9b6820850778822f6e95a5fc956'
|
'2e429abf6f14f506f8caa643eeed10921ef3c9b6820850778822f6e95a5fc956'
|
||||||
'c163f149154d8a3f76ba916d49215673f3056595d857b2f2b7074e88496bbd32'
|
'c163f149154d8a3f76ba916d49215673f3056595d857b2f2b7074e88496bbd32'
|
||||||
'fd519f3ffb9ff649ae1c39674d247d9d26af2befb4ac557e885e84c3c4669950'
|
'fd519f3ffb9ff649ae1c39674d247d9d26af2befb4ac557e885e84c3c4669950'
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
# Maintainer: Det <nimetonmaili g-mail>
|
# Maintainer: Det <nimetonmaili g-mail>
|
||||||
|
|
||||||
pkgname=jdk
|
pkgname=jdk
|
||||||
pkgver=9.0.1
|
pkgver=9.0.4
|
||||||
_major=${pkgver/.*}
|
_major=${pkgver/.*}
|
||||||
_build=11
|
_build=11
|
||||||
|
_hash=c2514751926b4512b076cc82f959763f
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Oracle Java Development Kit"
|
pkgdesc="Oracle Java Development Kit"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -36,12 +37,12 @@ backup=("etc/java-$_jname/management/jmxremote.access"
|
|||||||
"etc/java-$_jname/sound.properties")
|
"etc/java-$_jname/sound.properties")
|
||||||
options=('!strip') # JDK debug-symbols
|
options=('!strip') # JDK debug-symbols
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
source=("http://download.oracle.com/otn-pub/java/jdk/${pkgver}+${_build}/${pkgname}-${pkgver}_linux-x64_bin.tar.gz"
|
source=("http://download.oracle.com/otn-pub/java/jdk/${pkgver}+${_build}/${_hash}/${pkgname}-${pkgver}_linux-x64_bin.tar.gz"
|
||||||
"jconsole-$_jname.desktop"
|
"jconsole-$_jname.desktop"
|
||||||
"jmc-$_jname.desktop"
|
"jmc-$_jname.desktop"
|
||||||
"jvisualvm-$_jname.desktop"
|
"jvisualvm-$_jname.desktop"
|
||||||
"policytool-$_jname.desktop")
|
"policytool-$_jname.desktop")
|
||||||
sha256sums=('2cdaf0ff92d0829b510edd883a4ac8322c02f2fc1beae95d048b6716076bc014'
|
sha256sums=('90c4ea877e816e3440862cfa36341bc87d05373d53389ec0f2d54d4e8c95daa2'
|
||||||
'100fd0162a4be04371d9d53121bd511aeb0a230475497a8c19ed0cff20915efc'
|
'100fd0162a4be04371d9d53121bd511aeb0a230475497a8c19ed0cff20915efc'
|
||||||
'e4059de8ec0dee1a5eabd1d67a053509aa0009ba6e08739b11140c26f2fcc55a'
|
'e4059de8ec0dee1a5eabd1d67a053509aa0009ba6e08739b11140c26f2fcc55a'
|
||||||
'1f74cc627bd6a934681fe2d453058c21794d1435205c501f7fecdaf2c94f5485'
|
'1f74cc627bd6a934681fe2d453058c21794d1435205c501f7fecdaf2c94f5485'
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
_pkgname=jdk
|
_pkgname=jdk
|
||||||
pkgname=jdk8
|
pkgname=jdk8
|
||||||
_major=8
|
_major=8
|
||||||
_minor=152
|
_minor=162
|
||||||
_build=b16
|
_build=b12
|
||||||
_hash=aa0333dd3019491ca4f6ddbe78cdb6d0
|
_hash=0da788060d494f5095bf8624735fa2f1
|
||||||
pkgver=${_major}u${_minor}
|
pkgver=${_major}u${_minor}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Oracle Java $_major Development Kit"
|
pkgdesc="Oracle Java $_major Development Kit"
|
||||||
@ -48,7 +48,7 @@ source=("http://download.oracle.com/otn-pub/java/jdk/$pkgver-$_build/$_hash/$_pk
|
|||||||
"jmc-$_jname.desktop"
|
"jmc-$_jname.desktop"
|
||||||
"jvisualvm-$_jname.desktop"
|
"jvisualvm-$_jname.desktop"
|
||||||
"policytool-$_jname.desktop")
|
"policytool-$_jname.desktop")
|
||||||
md5sums=('20dddd28ced3179685a5f58d3fcbecd8'
|
md5sums=('781e3779f0c134fb548bde8b8e715e90'
|
||||||
'b3c7031bc65c28c2340302065e7d00d3'
|
'b3c7031bc65c28c2340302065e7d00d3'
|
||||||
'8a66f50efdc867ffd6a27168bc93b210'
|
'8a66f50efdc867ffd6a27168bc93b210'
|
||||||
'1cbde70639abd98db4bace284dbf2bc4'
|
'1cbde70639abd98db4bace284dbf2bc4'
|
||||||
@ -67,7 +67,7 @@ package() {
|
|||||||
install -d "$pkgdir"/usr/share/licenses/java$_major-$_pkgname
|
install -d "$pkgdir"/usr/share/licenses/java$_major-$_pkgname
|
||||||
|
|
||||||
msg2 "Removing redundancies..."
|
msg2 "Removing redundancies..."
|
||||||
rm db/bin/*.bat
|
#rm db/bin/*.bat
|
||||||
rm db/3RDPARTY
|
rm db/3RDPARTY
|
||||||
rm db/LICENSE
|
rm db/LICENSE
|
||||||
rm -r jre/lib/desktop/icons/HighContrast/
|
rm -r jre/lib/desktop/icons/HighContrast/
|
||||||
|
Loading…
Reference in New Issue
Block a user