Sync AUR
This commit is contained in:
21 files changed
+99
-73
No files matched your search
@@ -1,23 +1,24 @@
|
||||
pkgbase = cursor-bin
|
||||
pkgdesc = AI-first coding environment
|
||||
pkgver = 2.0.77
|
||||
pkgver = 2.1.25
|
||||
pkgrel = 1
|
||||
url = https://www.cursor.com
|
||||
arch = x86_64
|
||||
license = LicenseRef-Cursor_EULA
|
||||
depends = xdg-utils
|
||||
depends = ripgrep
|
||||
depends = electron34
|
||||
depends = electron37
|
||||
depends = nodejs
|
||||
depends = gcc-libs
|
||||
depends = hicolor-icon-theme
|
||||
depends = libxkbfile
|
||||
noextract = cursor_2.1.25_amd64.deb
|
||||
options = !strip
|
||||
source = https://downloads.cursor.com/production/ba90f2f88e4911312761abab9492c42442117cfe/linux/x64/deb/amd64/deb/cursor_2.0.77_amd64.deb
|
||||
source = https://downloads.cursor.com/production/7584ea888f7eb7bf76c9873a8f71b28f034a982e/linux/x64/deb/amd64/deb/cursor_2.1.25_amd64.deb
|
||||
source = https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh
|
||||
source = rg.sh
|
||||
sha512sums = 453378af91e43960dbf25b9766f7bc161d2fcde257b824b0f65af94083b131a9bfd0bb9c8c922484994a99c6450697b3fb3700d65b0e4bd8f0bf07c6fa9863b4
|
||||
sha512sums = d4e0be9d5faae4c0890f16361b9efc61b81903d17acbaddb8074ab79d57738d6b955a115ee1c7c00e27f840c1210e27e93676b675d83118bbeb460ddf2ab21dd
|
||||
sha512sums = 937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37
|
||||
sha512sums = SKIP
|
||||
sha512sums = e79fe7659f59d1ae02fc68816399bfd31587315df6cdb6ccf1d0ca76f7cdc692c2a42b30591c0091147bd97ef14b1c7745dc26bd7cb3ea6bba45698e5044fa2a
|
||||
|
||||
pkgname = cursor-bin
|
||||
@@ -1,26 +1,29 @@
|
||||
# Maintainer: Gunther Schulz <dev@guntherschulz.de>
|
||||
|
||||
pkgname=cursor-bin
|
||||
pkgver=2.0.77
|
||||
pkgver=2.1.25
|
||||
pkgrel=1
|
||||
pkgdesc='AI-first coding environment'
|
||||
arch=('x86_64')
|
||||
url="https://www.cursor.com"
|
||||
license=('LicenseRef-Cursor_EULA')
|
||||
_electron=electron34
|
||||
_electron=electron37
|
||||
depends=(xdg-utils ripgrep $_electron nodejs
|
||||
'gcc-libs' 'hicolor-icon-theme' 'libxkbfile')
|
||||
options=(!strip) # Don't break ext of VSCode
|
||||
_commit=ba90f2f88e4911312761abab9492c42442117cfe # sed'ded at GitHub WF
|
||||
source=("https://downloads.cursor.com/production/ba90f2f88e4911312761abab9492c42442117cfe/linux/x64/deb/amd64/deb/cursor_2.0.77_amd64.deb"
|
||||
_commit=7584ea888f7eb7bf76c9873a8f71b28f034a982e
|
||||
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)
|
||||
sha512sums=('453378af91e43960dbf25b9766f7bc161d2fcde257b824b0f65af94083b131a9bfd0bb9c8c922484994a99c6450697b3fb3700d65b0e4bd8f0bf07c6fa9863b4'
|
||||
'937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37' 'SKIP')
|
||||
|
||||
sha512sums=('SKIP'
|
||||
'937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37'
|
||||
'e79fe7659f59d1ae02fc68816399bfd31587315df6cdb6ccf1d0ca76f7cdc692c2a42b30591c0091147bd97ef14b1c7745dc26bd7cb3ea6bba45698e5044fa2a')
|
||||
sha512sums[0]=d4e0be9d5faae4c0890f16361b9efc61b81903d17acbaddb8074ab79d57738d6b955a115ee1c7c00e27f840c1210e27e93676b675d83118bbeb460ddf2ab21dd
|
||||
noextract=(cursor_${pkgver}_amd64.deb) # avoid double tarball
|
||||
_app=usr/share/cursor/resources/app
|
||||
package() {
|
||||
# Exclude electron
|
||||
tar -xf data.tar.xz -C "$pkgdir" --exclude 'usr/share/cursor/[^r]*' --exclude 'usr/share/cursor/*.pak'
|
||||
bsdtar -xOf ${noextract[0]} data.tar.xz | tar -xJf - -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
|
||||
|
||||
Reference in new issue
Block a user