blob: 345b0c9cb01eafdb0720c3a47bd07b56900daab0 (
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
|
# Maintainer: Thomas Quillan <tjquillan@gmail.com>
pkgname=intellij-idea-community-edition-no-jre
_appname=jetbrains-idea-ce
pkgver=2019.2.4
_buildver=192.7142.36
pkgrel=1
pkgdesc="Intellij Idea Community Edition without bundled JRE"
arch=('any')
url="http://www.jetbrains.com/idea/"
license=("Apache2")
depends=('giflib' 'libxtst' 'java-environment' 'python' 'sh' 'ttf-font' 'libdbusmenu-glib')
provides=("$_appname")
conflicts=("$_appname")
source=("https://download.jetbrains.com/idea/ideaIC-$pkgver-no-jbr.tar.gz"
"$_appname.desktop")
sha256sums=('5e318015a0105fd72802794afcf976a2db5d9b7cd53e3f53c95c31ee4736211c'
'91aa66e16e428d595c9f76a02f5a6d54d6fb0b1d1ccac4159cfb7070cff26a4b')
package() {
cd idea-IC-"$_buildver"
# workaround FS#40934
sed -i 's/lcd/on/' bin/*.vmoptions
install -dm 755 "$pkgdir"/usr/bin
install -dm 755 "$pkgdir"/usr/share/{licenses,pixmaps,"$_appname",icons/hicolor/scalable/apps}
cp -dr --no-preserve='ownership' bin lib plugins redist build.txt product-info.json "$pkgdir"/usr/share/"$_appname/"
cp -dr --no-preserve='ownership' license "$pkgdir"/usr/share/licenses/"$_appname"
ln -s /usr/share/"$_appname"/bin/idea.png "$pkgdir"/usr/share/pixmaps/"$_appname".png
ln -s /usr/share/"$_appname"/bin/idea.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/"$_appname".svg
install -Dm 644 ../"$_appname".desktop -t "$pkgdir"/usr/share/applications/
ln -s /usr/share/"$_appname"/bin/idea.sh "$pkgdir"/usr/bin/idea-ce
}
|