summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e33ce548751bacb71087ec37ce758696ffc5d843 (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
# Maintainer: Max Balashov <rsg245@ya.ru>
_appname=openide
pkgname="$_appname-bin"
pkgver=243.26053.27.8
pkgrel=1
pkgdesc="OpenID is an open source software development tool for Java, Python, and other programming languages. It was created by the Astra Group, Haulmont, and Axiom JDK companies. It is fork of pycharm"
arch=(x86_64)
url="https://openide.ru"
license=('AGPL-3.0-or-later')
conflicts=(
  "openide"
)
source=(
  openide.desktop
  openide.sh
)

source_x86_64=("https://download.openide.ru/${pkgver}/openIDE-${pkgver}.tar.gz")

options=(!strip)
sha256sums=('aa3e4f48f311c7b9368c878c05ff6b93672ab6da56bd60aba1109c118e7cbed5'
            '5df2ba94996f8e7bdcde97c9b60aef128c65f5308775b02ea7df41395523c88f')
sha256sums_x86_64=('74c296c46f09769c5607dec00eeba185229b41943b136b421a5bc19397e1415d')

package() {
  cd "openIDE-243.26053.27.8"

  # workaround FS#40934
  # see https://bugs.archlinux.org/task/40934
  sed -i 's/lcd/on/' bin/*.vmoptions

  rm -rf bin/fsnotifier-arm

  install -dm 755 "${pkgdir}"/usr/share/{licenses,pixmaps,openide}
  cp -dr --no-preserve='ownership' bin jbr lib modules plugins \
    product-info.json "${pkgdir}"/usr/share/openide/
  cp -dr --no-preserve='ownership' license "${pkgdir}"/usr/share/licenses/openide/
  cp -dr --no-preserve='ownership' bin/openide.png "${pkgdir}"/usr/share/pixmaps/
  install -Dm 644 ../openide.desktop -t "${pkgdir}"/usr/share/applications/
  install -Dm 755 ../openide.sh "${pkgdir}"/usr/bin/openide
}