blob: 57eedfcf01bc7bd498df4bb43c3e8707177fed68 (
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
|
# Maintainer: leothelion <ponte-vecchio>
pkgname=positron-ide-devel-bin
_pkgname=positron-ide
pkgver=2025.02.0.171
pkgver_url=2025.02.0-171
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"
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'
'gtk4'
# 'nspr' # nss
'nss'
'pango'
# 'gcc-libs' # mesa
# 'libx11' # mesa, pango
# 'libxcb' # mesa
'libxcomposite'
'libxdamage'
# 'libxext' # mesa
# 'libxfixes' # mesa
# 'libxkbcommon' # at-spi2-core
# 'libxkbfile' # mesa
'libxrandr'
'xdg-utils'
)
optdepends=(
# libvullkan1
'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'
)
provides=("positron")
conflicts=("positron-bin")
source_x86_64=("${url}/releases/download/${pkgver_url}/Positron-${pkgver_url}-x64.deb")
source_aarch64=("${url}/releases/download/${pkgver_url}/Positron-${pkgver_url}-arm64.deb")
sha256sums_x86_64=('4e341cfd8e126b63252ec95bca061515b224deb680accbd8b2d4a24846337e8d')
sha256sums_aarch64=('5a06c4cc8f72e9c17d8a3bb5bf76485ed5a71f65fea4793d349148bf58570cb7')
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 --zstd -xf 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"
}
|