blob: ff40907ce60df81d29acdf6a11ac4f77e67f3e6f (
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
44
45
46
47
48
|
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
pkgbase=goland
pkgname=(goland goland-jre)
pkgver=2021.2.4
pkgrel=1
arch=('x86_64' 'i686')
url='https://www.jetbrains.com/go/'
license=('custom:jetbrains')
depends=('glib2')
options=('!strip')
source=("https://download.jetbrains.com/go/${pkgbase}-${pkgver}.tar.gz"
jetbrains-goland.desktop
LICENSE)
b2sums=('98749dcfa3c67415034b9317f9f4244d170afd014de1ae0a63fe4477e44301b2a31a8a20caf8cbd0864bbb31c685317d6c54e7c889231f0995a8a0d9ef3046b4'
'69a09c3ff4182cd5ae43c967b4a58ce3bdf428f0fb87f91f835ffcde5c10019cf4a789cfdb8966ad98c95dda47517a6c49e9c4bf6c217f0cb1b553100730a6a6'
'dadaf0e67b598aa7a7a4bf8644943a7ee8ebf4412abb17cd307f5989e36caf9d0db529a0e717a9df5d9537b10c4b13e814b955ada6f0d445913c812b63804e77')
package_goland() {
pkgdesc='Capable and Ergonomic Go IDE'
optdepends=('goland-jre: JetBrains custom Java Runtime (Recommended)'
'java-runtime: JRE - Required if goland-jre is not installed')
conflicts=('gogland')
replaces=('gogland')
install -dm755 "${pkgdir}"/opt/
install -dm755 "${pkgdir}"/usr/bin/
install -dm755 "${pkgdir}"/usr/share/applications/
install -dm755 "${pkgdir}"/usr/share/pixmaps/
cp -a "${srcdir}"/GoLand-${pkgver}/ "${pkgdir}"/opt/${pkgbase}
rm -rf "${pkgdir}"/opt/${pkgbase}/jbr
ln -s /opt/${pkgbase}/bin/${pkgbase}.sh "${pkgdir}"/usr/bin/${pkgbase}
install -m644 "${srcdir}"/jetbrains-${pkgbase}.desktop "${pkgdir}"/usr/share/applications/
install -m644 "${pkgdir}"/opt/${pkgbase}/bin/${pkgbase}.png "${pkgdir}"/usr/share/pixmaps/${pkgbase}.png
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
}
package_goland-jre() {
pkgdesc='JBR (JetBrains Runtime) for Goland - a patched JRE'
url='https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime'
conflicts=('gogland-jre')
replaces=('gogland-jre')
install -dm755 "${pkgdir}"/opt/${pkgbase}
cp -a "${srcdir}"/GoLand-${pkgver}/jbr "${pkgdir}"/opt/${pkgbase}
}
|