Pull in all aur pkgbuilds
This commit is contained in:
142 files changed
+3918
-14
No files matched your search
@@ -0,0 +1,21 @@
|
||||
pkgbase = cursor-bin
|
||||
pkgdesc = AI-first coding environment
|
||||
pkgver = 1.7.54
|
||||
pkgrel = 1
|
||||
url = https://www.cursor.com
|
||||
arch = x86_64
|
||||
license = LicenseRef-Cursor_EULA
|
||||
depends = xdg-utils
|
||||
depends = electron34
|
||||
depends = gcc-libs
|
||||
depends = hicolor-icon-theme
|
||||
depends = libxkbfile
|
||||
options = !strip
|
||||
source = https://downloads.cursor.com/production/5c17eb2968a37f66bc6662f48d6356a100b67be8/linux/x64/deb/amd64/deb/cursor_1.7.54_amd64.deb
|
||||
source = https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh
|
||||
source = rg.sh
|
||||
sha512sums = 235249d88fc85ad58f4951a0fbaab13e9aa35a097c4900b5944423f966e837f9ecc2cbcadc88ea3033b6027d738dc3ad9cadcc3390d0d9f7382ea0a24d02b1e9
|
||||
sha512sums = 937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37
|
||||
sha512sums = SKIP
|
||||
|
||||
pkgname = cursor-bin
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
cursor-0.37.1.AppImage
|
||||
|
||||
cursor-bin-0.37.1-1-x86_64.pkg.tar.zst
|
||||
|
||||
pkg/cursor-bin/.BUILDINFO
|
||||
|
||||
pkg/cursor-bin/.MTREE
|
||||
|
||||
pkg/cursor-bin/.PKGINFO
|
||||
|
||||
pkg/cursor-bin/opt/cursor-bin/cursor-bin.AppImage
|
||||
|
||||
pkg/cursor-bin/usr/bin/cursor
|
||||
|
||||
pkg/cursor-bin/usr/share/applications/cursor.desktop
|
||||
|
||||
pkg/cursor-bin/usr/share/icons/hicolor/512x512/apps/cursor.png
|
||||
|
||||
src/cursor.png
|
||||
@@ -0,0 +1,33 @@
|
||||
# Maintainer: Gunther Schulz <dev@guntherschulz.de>
|
||||
|
||||
pkgname=cursor-bin
|
||||
pkgver=1.7.54
|
||||
pkgrel=1
|
||||
pkgdesc='AI-first coding environment'
|
||||
arch=('x86_64')
|
||||
url="https://www.cursor.com"
|
||||
license=('LicenseRef-Cursor_EULA')
|
||||
_electron=electron34
|
||||
depends=('xdg-utils' $_electron
|
||||
'gcc-libs' 'hicolor-icon-theme' 'libxkbfile')
|
||||
options=(!strip) # Don't break ext of VSCode
|
||||
_commit=5c17eb2968a37f66bc6662f48d6356a100b67be8 # sed'ded at GitHub WF
|
||||
source=("https://downloads.cursor.com/production/5c17eb2968a37f66bc6662f48d6356a100b67be8/linux/x64/deb/amd64/deb/cursor_1.7.54_amd64.deb"
|
||||
https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh
|
||||
rg.sh)
|
||||
sha512sums=('235249d88fc85ad58f4951a0fbaab13e9aa35a097c4900b5944423f966e837f9ecc2cbcadc88ea3033b6027d738dc3ad9cadcc3390d0d9f7382ea0a24d02b1e9'
|
||||
'937299c6cb6be2f8d25f7dbc95cf77423875c5f8353b8bd6cd7cc8e5603cbf8405b14dbf8bd615db2e3b36ed680fc8e1909410815f7f8587b7267a699e00ab37' 'SKIP')
|
||||
|
||||
_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'
|
||||
cd "$pkgdir"
|
||||
mv usr/share/zsh/{vendor-completions,site-functions}
|
||||
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}|" \
|
||||
-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
|
||||
}
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
exec /usr/bin/rg "${@/--cursor-ignore/--ignore-file}"
|
||||
Reference in new issue
Block a user