blob: db3a5e1affb3fd7b70b63cba0e41e7cf919cc2d3 (
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=dataspell
pkgname=(dataspell dataspell-jre)
pkgver=2023.3.1
pkgrel=1
pkgdesc='Python IDE for data scientists'
arch=('x86_64' 'i686')
license=('custom:jetbrains')
url='https://www.jetbrains.com/dataspell/'
depends=('glib2' 'python')
options=('!strip')
source=("https://download.jetbrains.com/python/dataspell-${pkgver}.tar.gz"
jetbrains-dataspell.desktop
LICENSE)
b2sums=('a39c9fc304707c83e122ad84628108bb1b3990d8d9e66c37a46e67447ec874f16fefcbc4b92058b11aab8957b3a63f525d4904b20aa7bc14bef469e5a8e38c22'
'6bd52dffc824f7ece9255b36321915e9d488ee910969f317e0e8c1e1aa7d58e4c2cb2588941670d84c4226c8133f7435f3fdc8d65fd8b2cab84a0022b1c7f5e9'
'dadaf0e67b598aa7a7a4bf8644943a7ee8ebf4412abb17cd307f5989e36caf9d0db529a0e717a9df5d9537b10c4b13e814b955ada6f0d445913c812b63804e77')
package_dataspell() {
optdepends=('dataspell-jre: JetBrains custom Java Runtime (Recommended)'
'java-runtime: JRE - Required if dataspell-jre is not installed'
'gnome-keyring: save login/deployment credentials safely'
'java-openjfx: rendering Markdown files')
install -dm755 "${pkgdir}"/opt/
install -dm755 "${pkgdir}"/usr/bin/
install -dm755 "${pkgdir}"/usr/share/applications/
install -dm755 "${pkgdir}"/usr/share/pixmaps/
cp -a "${srcdir}"/dataspell-${pkgver}/ "${pkgdir}"/opt/${pkgbase}
rm -rf "${pkgdir}"/opt/${pkgbase}/jbr
chmod +x "${pkgdir}"/opt/dataspell/plugins/r-plugin/rwrapper*linux
ln -s /opt/${pkgbase}/bin/${pkgbase}.sh "${pkgdir}"/usr/bin/${pkgbase}
install -D -m 644 "${srcdir}"/jetbrains-${pkgbase}.desktop "${pkgdir}"/usr/share/applications/
install -D -m 644 "${pkgdir}"/opt/${pkgbase}/bin/${pkgbase}.svg "${pkgdir}"/usr/share/pixmaps/${pkgbase}.svg
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
}
package_dataspell-jre() {
pkgdesc='JBR (JetBrains Runtime) for DataSpell - a patched JRE'
url='https://github.com/JetBrains/JetBrainsRuntime'
install -d -m 755 "${pkgdir}"/opt/${pkgbase}
cp -a "${srcdir}"/dataspell-${pkgver}/jbr "${pkgdir}"/opt/${pkgbase}
}
|