Compare commits
10 commits
2e67546666
...
1d0598b0e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d0598b0e2 | ||
|
|
fb1c41aead | ||
|
|
b66489eca6 | ||
|
|
c6a8445ce9 | ||
|
|
8b57be99c8 | ||
| 704c519ea2 | |||
|
|
a7e56caba9 | ||
| f721b7bebc | |||
| 367f396f76 | |||
|
|
341b6270ba |
3 changed files with 9 additions and 9 deletions
8
.SRCINFO
8
.SRCINFO
|
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = cursor
|
pkgbase = cursor
|
||||||
pkgdesc = The AI Code Editor
|
pkgdesc = The AI Code Editor
|
||||||
pkgver = 3.0.4
|
pkgver = 3.0.16
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://www.cursor.com
|
url = https://www.cursor.com
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
|
@ -19,13 +19,13 @@ pkgbase = cursor
|
||||||
optdepends = libnotify: desktop notifications
|
optdepends = libnotify: desktop notifications
|
||||||
optdepends = org.freedesktop.secrets: credential storage via SecretService
|
optdepends = org.freedesktop.secrets: credential storage via SecretService
|
||||||
optdepends = libdbusmenu-glib: KDE global menu support
|
optdepends = libdbusmenu-glib: KDE global menu support
|
||||||
noextract = cursor_3.0.4_amd64.deb
|
noextract = cursor_3.0.16_amd64.deb
|
||||||
options = !strip
|
options = !strip
|
||||||
options = !debug
|
options = !debug
|
||||||
source = cursor_3.0.4_amd64.deb::https://downloads.cursor.com/production/63715ffc1807793ce209e935e5c3ab9b79fddc85/linux/x64/deb/amd64/deb/cursor_3.0.4_amd64.deb
|
source = cursor_3.0.16_amd64.deb::https://downloads.cursor.com/production/475871d112608994deb2e3065dfb7c6b0baa0c54/linux/x64/deb/amd64/deb/cursor_3.0.16_amd64.deb
|
||||||
source = cursor.desktop
|
source = cursor.desktop
|
||||||
source = cursor-launcher.sh
|
source = cursor-launcher.sh
|
||||||
sha256sums = f6c1926be44d371fe165a04d4551e209a1d7b98b79adc323c57052221e6beb22
|
sha256sums = 3311324ac721f61c37650cc2ade0e1946883e58d9d5adb9dc383f80c89fac2e1
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
|
|
||||||
- name: Publish to AUR
|
- name: Publish to AUR
|
||||||
if: steps.check.outputs.update_available == 'true' || inputs.force_publish
|
if: steps.check.outputs.update_available == 'true' || inputs.force_publish
|
||||||
uses: KSXGitHub/github-actions-deploy-aur@v4.1.1
|
uses: KSXGitHub/github-actions-deploy-aur@v4.1.2
|
||||||
with:
|
with:
|
||||||
pkgname: cursor
|
pkgname: cursor
|
||||||
pkgbuild: ./PKGBUILD
|
pkgbuild: ./PKGBUILD
|
||||||
|
|
|
||||||
8
PKGBUILD
8
PKGBUILD
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: lone-cloud <lonecloud604@pm.me>
|
# Maintainer: lone-cloud <lonecloud604@pm.me>
|
||||||
|
|
||||||
pkgname=cursor
|
pkgname=cursor
|
||||||
pkgver=3.0.4
|
pkgver=3.0.16
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='The AI Code Editor'
|
pkgdesc='The AI Code Editor'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
@ -29,13 +29,13 @@ optdepends=(
|
||||||
|
|
||||||
options=(!strip !debug)
|
options=(!strip !debug)
|
||||||
|
|
||||||
_commit=63715ffc1807793ce209e935e5c3ab9b79fddc85
|
_commit=475871d112608994deb2e3065dfb7c6b0baa0c54
|
||||||
source=(
|
source=(
|
||||||
"cursor_${pkgver}_amd64.deb::https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${pkgver}_amd64.deb"
|
"cursor_${pkgver}_amd64.deb::https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${pkgver}_amd64.deb"
|
||||||
"cursor.desktop"
|
"cursor.desktop"
|
||||||
"cursor-launcher.sh"
|
"cursor-launcher.sh"
|
||||||
)
|
)
|
||||||
sha256sums=('f6c1926be44d371fe165a04d4551e209a1d7b98b79adc323c57052221e6beb22'
|
sha256sums=('3311324ac721f61c37650cc2ade0e1946883e58d9d5adb9dc383f80c89fac2e1'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
noextract=("cursor_${pkgver}_amd64.deb")
|
noextract=("cursor_${pkgver}_amd64.deb")
|
||||||
|
|
@ -58,7 +58,7 @@ package() {
|
||||||
# Rename pixmap icon and trim transparent padding to match other DE icons
|
# Rename pixmap icon and trim transparent padding to match other DE icons
|
||||||
if [[ -f "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png" ]]; then
|
if [[ -f "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png" ]]; then
|
||||||
magick "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png" \
|
magick "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png" \
|
||||||
-trim +repage -resize 1024x1024 \
|
-trim +repage -resize 950x950 -background transparent -gravity center -extent 1024x1024 \
|
||||||
"$pkgdir/usr/share/pixmaps/cursor.png"
|
"$pkgdir/usr/share/pixmaps/cursor.png"
|
||||||
chmod 644 "$pkgdir/usr/share/pixmaps/cursor.png"
|
chmod 644 "$pkgdir/usr/share/pixmaps/cursor.png"
|
||||||
rm "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png"
|
rm "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue