blob: 8f95032440f32e772d7e9303efbe1e077bdc1120 (
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
|
# Maintainer: Reto Kaiser <reto@retokaiser.com>
pkgname=intellij-idea-ue-bundled-jre
pkgver=2016.3.1
_buildver=163.9166.29
pkgrel=1
pkgdesc="An intelligent IDE for Java, Groovy and other programming languages with advanced refactoring features intensely focused on developer productivity."
arch=('any')
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')
options=(!strip)
source=("https://download.jetbrains.com/idea/ideaIU-$pkgver.tar.gz"
'jetbrains-idea.desktop'
)
sha256sums=('1c52ea32f13f186ed532c16a084e8360d7d4a58e93a05ce25bde9c88ab7b2699'
'fe26083eb313a977112f6571fb97ff369d48bbfabfde18c1339168662c666ca3'
)
package() {
cd "$srcdir"
install -d -m755 "$pkgdir"/usr/{bin,share}
cp -a "idea-IU-$_buildver" "$pkgdir"/usr/share/"$pkgname"
# make sure that all files are owned by root
chown -R root:root "$pkgdir"/usr/share
# create binary and desktop entry
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"/idea-IU-$_buildver/bin/idea.png "$pkgdir"/usr/share/pixmaps/"$pkgname".png
# workaround FS#40934
sed -i 's|lcd|on|' "$pkgdir"/usr/share/"$pkgname"/bin/*.vmoptions
}
|