chore: sync AUR packages (shared)
This commit is contained in:
1 parent
79f9061456
commit
62632963c2
2 files changed
+15
-9
No files matched your search
@@ -1,6 +1,6 @@
|
||||
pkgbase = cursor-bin
|
||||
pkgdesc = AI-first coding environment
|
||||
pkgver = 2.6.22
|
||||
pkgver = 3.0.9
|
||||
pkgrel = 1
|
||||
url = https://www.cursor.com
|
||||
arch = x86_64
|
||||
@@ -12,14 +12,16 @@ pkgbase = cursor-bin
|
||||
depends = gcc-libs
|
||||
depends = hicolor-icon-theme
|
||||
depends = libxkbfile
|
||||
noextract = cursor_2.6.22_amd64.deb
|
||||
noextract = cursor_3.0.9_amd64.deb
|
||||
options = !strip
|
||||
options = !debug
|
||||
source = https://downloads.cursor.com/production/c6285feaba0ad62603f7c22e72f0a170dc8415a5/linux/x64/deb/amd64/deb/cursor_2.6.22_amd64.deb
|
||||
source = https://downloads.cursor.com/production/93e276db8a03af947eafb2d10241e2de17806c29/linux/x64/deb/amd64/deb/cursor_3.0.9_amd64.deb
|
||||
source = https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh
|
||||
source = https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.mjs
|
||||
source = rg.sh
|
||||
sha512sums = 9f51acf0c8bfbc674108387c04abf88eba34c30aaf28a5c36bbdd259368d295f82a1b0fce7226812d3eefa2df567a938b362329260dd0d1f9dcaad56328b916e
|
||||
sha512sums = b0ec1ac60cff30b972edcc852186980fe37211a520c6b7d71b5217c5a7de32841e595e3c1d83653fefa0ab3ed49d1ea70c53de76196923ece14b2477f05bb0ee
|
||||
sha512sums = 937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37
|
||||
sha512sums = SKIP
|
||||
sha512sums = e79fe7659f59d1ae02fc68816399bfd31587315df6cdb6ccf1d0ca76f7cdc692c2a42b30591c0091147bd97ef14b1c7745dc26bd7cb3ea6bba45698e5044fa2a
|
||||
|
||||
pkgname = cursor-bin
|
||||
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Gunther Schulz <dev@guntherschulz.de>
|
||||
|
||||
pkgname=cursor-bin
|
||||
pkgver=2.6.22
|
||||
pkgver=3.0.9
|
||||
pkgrel=1
|
||||
pkgdesc='AI-first coding environment'
|
||||
arch=('x86_64')
|
||||
@@ -11,13 +11,15 @@ _electron=electron
|
||||
depends=(xdg-utils ripgrep $_electron nodejs
|
||||
'gcc-libs' 'hicolor-icon-theme' 'libxkbfile')
|
||||
options=(!strip !debug) # Don't break ext of VSCode
|
||||
_commit=c6285feaba0ad62603f7c22e72f0a170dc8415a5
|
||||
_commit=93e276db8a03af947eafb2d10241e2de17806c29
|
||||
source=("https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${pkgver}_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
|
||||
https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.mjs rg.sh)
|
||||
sha512sums=('SKIP'
|
||||
'937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37'
|
||||
'SKIP'
|
||||
'e79fe7659f59d1ae02fc68816399bfd31587315df6cdb6ccf1d0ca76f7cdc692c2a42b30591c0091147bd97ef14b1c7745dc26bd7cb3ea6bba45698e5044fa2a')
|
||||
sha512sums[0]=9f51acf0c8bfbc674108387c04abf88eba34c30aaf28a5c36bbdd259368d295f82a1b0fce7226812d3eefa2df567a938b362329260dd0d1f9dcaad56328b916e
|
||||
sha512sums[0]=b0ec1ac60cff30b972edcc852186980fe37211a520c6b7d71b5217c5a7de32841e595e3c1d83653fefa0ab3ed49d1ea70c53de76196923ece14b2477f05bb0ee
|
||||
noextract=(cursor_${pkgver}_amd64.deb) # avoid double tarball
|
||||
_app=usr/share/cursor/resources/app
|
||||
package() {
|
||||
@@ -29,7 +31,9 @@ package() {
|
||||
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}|" \
|
||||
sed -e "s|code-oss|cursor|g" -e "s|code.mjs|cursor.mjs|g" \
|
||||
"${srcdir}"/code.mjs | install -Dm644 /dev/stdin "${pkgdir}/${_app}/cursor.mjs"
|
||||
sed -e "s|code-flags|cursor-flags|" -e "s|/usr/lib/code|/${_app}|" -e "s|/usr/lib/code/code.mjs|/${_app}/cursor.mjs|" \
|
||||
-e "s|name=electron|name=${_electron}|" "${srcdir}"/code.sh | install -Dm755 /dev/stdin "${pkgdir}"/usr/share/cursor/cursor
|
||||
install -d "$pkgdir"/usr/bin
|
||||
ln -sf /usr/share/cursor/cursor "$pkgdir"/usr/bin/cursor
|
||||
|
||||
Reference in new issue
Block a user