blob: 28d0937f6ce2ee431ada05cbefec10dc06f906c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Reto Kaiser <reto@retokaiser.com>
pkgname=intellij-idea-ue-bundled-jre
pkgver=2019.2.4
pkgrel=1
pkgdesc="Jetbrains IDE for Java and other programming languages. This packages contains a bundled JRE."
arch=('i686' 'x86_64')
url="https://www.jetbrains.com/idea/"
backup=("usr/share/${pkgname}/bin/idea.vmoptions" "usr/share/${pkgname}/bin/idea64.vmoptions" "usr/share/${pkgname}/bin/idea.properties")
license=('Commercial')
depends=('giflib' 'libxtst')
conflicts=('intellij-idea-ultimate-edition')
options=(!strip)
source=(
"https://download.jetbrains.com/idea/ideaIU-${pkgver}.tar.gz"
'jetbrains-idea.desktop'
'sysctl.conf'
)
sha256sums=('102a925396f2edd5d67b823fe14f3547e3d109c2a63a313c81fa2185cf8b98a1'
'fe26083eb313a977112f6571fb97ff369d48bbfabfde18c1339168662c666ca3'
'9351eb68fabd41788a0d517b32d517e1821afde2a35727ff322c450bab1697c9')
build() {
mv "${srcdir}/idea-IU-"* "${srcdir}/vendor-package"
}
package() {
install -d -m755 "${pkgdir}/usr/share/${pkgname}"
cp -a "${srcdir}/vendor-package/." "${pkgdir}/usr/share/${pkgname}"
# create binary and desktop entry
install -d -m755 "${pkgdir}/usr/bin"
ln -s "/usr/share/${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}/vendor-package/bin/idea.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
# sysctl - see https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
install -D -m644 "${srcdir}/sysctl.conf" "${pkgdir}/etc/sysctl.d/${pkgname}.conf"
# workaround FS#40934
sed -i 's|lcd|on|' "${pkgdir}/usr/share/${pkgname}/bin/"*".vmoptions"
}
|