mirror of
https://github.com/archlinux/aur.git
synced 2026-02-08 05:02:00 +01:00
nodejs
This commit is contained in:
parent
0562378c6c
commit
eba1cbc1a7
2 changed files with 5 additions and 4 deletions
1
.SRCINFO
1
.SRCINFO
|
|
@ -7,6 +7,7 @@ pkgbase = cursor-bin
|
|||
license = LicenseRef-Cursor_EULA
|
||||
depends = xdg-utils
|
||||
depends = electron34
|
||||
depends = nodejs
|
||||
depends = gcc-libs
|
||||
depends = hicolor-icon-theme
|
||||
depends = libxkbfile
|
||||
|
|
|
|||
8
PKGBUILD
8
PKGBUILD
|
|
@ -8,13 +8,12 @@ arch=('x86_64')
|
|||
url="https://www.cursor.com"
|
||||
license=('LicenseRef-Cursor_EULA')
|
||||
_electron=electron34
|
||||
depends=('xdg-utils' $_electron
|
||||
depends=(xdg-utils $_electron nodejs
|
||||
'gcc-libs' 'hicolor-icon-theme' 'libxkbfile')
|
||||
options=(!strip) # Don't break ext of VSCode
|
||||
_commit=8e4da76ad196925accaa169efcae28c45454cce3 # sed'ded at GitHub WF
|
||||
_commit=8e4da76ad196925accaa169efcae28c45454cce3
|
||||
source=("https://downloads.cursor.com/production/8e4da76ad196925accaa169efcae28c45454cce3/linux/x64/deb/amd64/deb/cursor_2.0.43_amd64.deb"
|
||||
https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh
|
||||
rg.sh)
|
||||
https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh rg.sh)
|
||||
sha512sums=('186edbc0050ab39f35c642b746b496a22869ca970d45940d96a2d8f49a4914148edafd00d03bbdce11fc0a90038d62ced2179f726c301a4a6981f4ec6e4daba2'
|
||||
'937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37' 'SKIP')
|
||||
|
||||
|
|
@ -24,6 +23,7 @@ package() {
|
|||
tar -xf data.tar.xz -C "$pkgdir" --exclude 'usr/share/cursor/[^r]*' --exclude 'usr/share/cursor/*.pak'
|
||||
cd "$pkgdir"
|
||||
mv usr/share/zsh/{vendor-completions,site-functions}
|
||||
ln -sf /usr/bin/node ${_app}/resources/helpers/node
|
||||
install -Dm755 "${srcdir}/rg.sh" ${_app}/node_modules/@vscode/ripgrep/bin/rg
|
||||
ln -sf /usr/bin/xdg-open ${_app}/node_modules/open/xdg-open
|
||||
sed -e "s|code-flags|cursor-flags|" -e "s|/usr/lib/code|/${_app}|" -e "s|/usr/lib/code/code.mjs|--app=/${_app}|" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue