blob: 2486bb3ea259d9a2c931d3691978a0fc9d0c9536 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
# Maintainer: leothelion <ponte-vecchio>
pkgname=positron-ide-devel-bin
_pkgname=positron-ide
pkgver=2025.06.0.146
pkgver_url=2025.06.0-146
pkgrel=1
pkgdesc="A next-generation data science IDE. Positron is an extensible, polyglot tool for writing code and exploring data in Python, R, and other languages."
arch=('x86_64' 'aarch64')
options=('!debug')
url="https://github.com/posit-dev/positron"
posit_url="https://cdn.posit.co/positron/dailies/deb"
licence=('Elastic-2.0')
license=('Elastic-2.0')
depends=(
'ca-certificates'
'alsa-lib'
'at-spi2-core'
'atkmm'
# 'glibc' # mesa
# 'cairo' # pango
'libcups'
'curl'
# 'libdrm' # mesa
# 'expat' # mesa
'mesa'
# 'glib2' # pango
'krb5'
'gtk3'
'gtk4'
# 'nspr' # nss
'nss'
'pango'
# 'gcc-libs' # mesa
# 'libx11' # mesa, pango
# 'libxcb' # mesa
'libxcomposite'
'libxdamage'
# 'libxext' # mesa
# 'libxfixes' # mesa
'libxkbcommon'
# 'libxkbfile' # mesa
'libxrandr'
'xdg-utils'
# python modules
'ipython'
'jupyter-nbclient'
'jupyter-nbformat'
'python-argcomplete'
'python-asttokens'
'python-cffi'
'python-chardet'
'python-colorama'
'python-comm'
'python-dateutil'
'python-decorator'
'python-docutils'
'python-executing'
'python-gobject'
'python-greenlet'
'python-importlib-metadata'
'python-ipykernel'
'python-jupyter-client'
'python-jupyter-core'
'python-markdown-it-py'
'python-matplotlib-inline'
'python-msgpack'
'python-nest-asyncio'
'python-numpy'
'python-parso'
'python-pexpect'
'python-pickleshare'
'python-pillow'
'python-pip'
'python-platformdirs'
'python-pluggy'
'python-prompt_toolkit'
'python-psutil'
'python-ptyprocess'
'python-pure-eval'
'python-pygments'
'python-pyparsing'
'python-pyqt5'
'python-pytest'
'python-pytz'
'python-pyzmq'
'python-requests'
'python-six'
'python-sphinx'
'python-stack-data'
'python-tomlkit'
'python-tornado'
'python-traitlets'
'python-twisted'
'python-typing_extensions'
'python-wcwidth'
'python-websockets'
'python-wheel'
'python-yaml'
'python-zipp'
)
optdepends=(
'vulkan-intel: Intel Vulkan driver'
'vulkan-radeon: Radeon Vulkan driver'
'vulkan-icd-loader: Vulkan ICD loader'
'bash-completion: Bash completion support'
'zsh-completions: Zsh completion support'
'nodejs: Extra functionality for Positron'
)
provides=("positron")
conflicts=("positron-bin")
source_aarch64=("${posit_url}/arm64/Positron-${pkgver_url}-arm64.deb")
source_x86_64=("${posit_url}/x86_64/Positron-${pkgver_url}-x64.deb")
sha256sums_aarch64=('1620931790667e9e2277d1d7b81e25b92193f40ecea2ab9a456fd0221d00dd96')
sha256sums_x86_64=('1673682d5f6eaa051eba66291ed449b87ac503a98beb9288e23aeeec46ead3fa')
package(){
shopt -s extglob
msg "Converting .deb package"
if [ "${CARCH}" = "x86_64" ]; then
ar x Positron-${pkgver_url}-x64.deb
elif [ "${CARCH}" = "aarch64" ]; then
ar x Positron-${pkgver_url}-arm64.deb
fi
cd "${srcdir}"
tar --extract --xz --file data.tar.xz -C "${pkgdir}"
# copy licence from root directory
# msg "Copying licence"
# install -Dm644 "../LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
msg "Installing"
install -d "${pkgdir}/usr/share/appdata"
install -d "${pkgdir}/usr/share/applications"
install -d "${pkgdir}/usr/share/mime/packages"
install -d "${pkgdir}/usr/share/positron"
}
|