Compare commits

..

No commits in common. "1d0598b0e23b6ec3a7e5f88f8eff7dd2d732aa22" and "2e67546666a52b3deb57edf26be081941a606d48" have entirely different histories.

3 changed files with 9 additions and 9 deletions

View file

@ -1,6 +1,6 @@
pkgbase = cursor
pkgdesc = The AI Code Editor
pkgver = 3.0.16
pkgver = 3.0.4
pkgrel = 1
url = https://www.cursor.com
arch = x86_64
@ -19,13 +19,13 @@ pkgbase = cursor
optdepends = libnotify: desktop notifications
optdepends = org.freedesktop.secrets: credential storage via SecretService
optdepends = libdbusmenu-glib: KDE global menu support
noextract = cursor_3.0.16_amd64.deb
noextract = cursor_3.0.4_amd64.deb
options = !strip
options = !debug
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_3.0.4_amd64.deb::https://downloads.cursor.com/production/63715ffc1807793ce209e935e5c3ab9b79fddc85/linux/x64/deb/amd64/deb/cursor_3.0.4_amd64.deb
source = cursor.desktop
source = cursor-launcher.sh
sha256sums = 3311324ac721f61c37650cc2ade0e1946883e58d9d5adb9dc383f80c89fac2e1
sha256sums = f6c1926be44d371fe165a04d4551e209a1d7b98b79adc323c57052221e6beb22
sha256sums = SKIP
sha256sums = SKIP

View file

@ -44,7 +44,7 @@ jobs:
- name: Publish to AUR
if: steps.check.outputs.update_available == 'true' || inputs.force_publish
uses: KSXGitHub/github-actions-deploy-aur@v4.1.2
uses: KSXGitHub/github-actions-deploy-aur@v4.1.1
with:
pkgname: cursor
pkgbuild: ./PKGBUILD

View file

@ -1,7 +1,7 @@
# Maintainer: lone-cloud <lonecloud604@pm.me>
pkgname=cursor
pkgver=3.0.16
pkgver=3.0.4
pkgrel=1
pkgdesc='The AI Code Editor'
arch=('x86_64')
@ -29,13 +29,13 @@ optdepends=(
options=(!strip !debug)
_commit=475871d112608994deb2e3065dfb7c6b0baa0c54
_commit=63715ffc1807793ce209e935e5c3ab9b79fddc85
source=(
"cursor_${pkgver}_amd64.deb::https://downloads.cursor.com/production/${_commit}/linux/x64/deb/amd64/deb/cursor_${pkgver}_amd64.deb"
"cursor.desktop"
"cursor-launcher.sh"
)
sha256sums=('3311324ac721f61c37650cc2ade0e1946883e58d9d5adb9dc383f80c89fac2e1'
sha256sums=('f6c1926be44d371fe165a04d4551e209a1d7b98b79adc323c57052221e6beb22'
'SKIP'
'SKIP')
noextract=("cursor_${pkgver}_amd64.deb")
@ -58,7 +58,7 @@ package() {
# Rename pixmap icon and trim transparent padding to match other DE icons
if [[ -f "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png" ]]; then
magick "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png" \
-trim +repage -resize 950x950 -background transparent -gravity center -extent 1024x1024 \
-trim +repage -resize 1024x1024 \
"$pkgdir/usr/share/pixmaps/cursor.png"
chmod 644 "$pkgdir/usr/share/pixmaps/cursor.png"
rm "$pkgdir/usr/share/pixmaps/co.anysphere.cursor.png"