Package Details: cursor-bin 0.44.11-1

Git Clone URL: https://aur.archlinux.org/cursor-bin.git (read-only, click to copy)
Package Base: cursor-bin
Description: Cursor App - AI-first coding environment
Upstream URL: https://www.cursor.com/
Licenses: custom:proprietary
Submitter: g.schulz
Maintainer: g.schulz
Last Packager: g.schulz
Votes: 15
Popularity: 6.46
First Submitted: 2024-06-09 14:27 (UTC)
Last Updated: 2025-01-03 23:06 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

g.schulz commented on 2024-08-11 07:21 (UTC) (edited on 2024-08-11 07:46 (UTC) by g.schulz)

@r3f Can you try cloning this package and running "makepkg -s" and let me know if you have the same issue? And after running makepkg what is the checksum for the downloaded Appimage (sha256sum) ?

r3f commented on 2024-08-11 04:02 (UTC)

-> Found cursor-0.39.4.AppImage -> Found cursor.png ==> Validating source_x86_64 files with sha256sums... cursor-0.39.4.AppImage ... FAILED cursor.png ... Passed ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'cursor-bin-0.39.4-4': error: packages failed to build: cursor-bin-0.39.4-4

g.schulz commented on 2024-08-10 19:57 (UTC) (edited on 2024-08-11 07:52 (UTC) by g.schulz)

I changed the action frequency from once a day to once per 5 minutes (min. allowed). If anyone has a suggestion on how to actually circumvent this issue in a robust way, let me know! I could not find any source for direct downloads of specific (older) versions of cursor, which would be the ideal way.

codevbus commented on 2024-08-10 18:50 (UTC)

Looks like the source link for the AppImage now refers to 0.39.4

g.schulz commented on 2024-08-10 10:03 (UTC) (edited on 2024-08-10 10:04 (UTC) by g.schulz)

Thank you for the suggestion to set up a github action. I set one up that checks for updates once a day and updates the PKGBUILD accordingly.

AnirudhKonduru commented on 2024-08-10 05:37 (UTC)

Here's a patch to update the SHA: https://pastebin.com/b68vZZsb

-   sha256sums_x86_64 = 66e0873afceeee174a02cd9deeb15ef88bb0c03d3cf93ea5f5b13958fc477824
+   sha256sums_x86_64 = de8f437ed43c48cc485e79095a0394d03bf669c876ede960ecbcde3591953cf9
-   pkgrel = 1
+   pkgrel = 2

Lampese commented on 2024-08-10 02:49 (UTC)

@g.schulz

You can create a Github Action to check Cursor's update and auto push it to Arch AUR.

g.schulz commented on 2024-08-08 23:05 (UTC) (edited on 2024-08-08 23:11 (UTC) by g.schulz)

Should be fine now. The issue seems to be, no matter which cursor version is requested from their website to download, it will always download the most recent one. So if I don't update the PKGBUILD in time, it will get a newer version of the binary but the checksum is still the old one. I will have to investigate if there is a work around.

r3f commented on 2024-08-08 18:53 (UTC)

One or more files did not pass the validity check!

Lampese commented on 2024-08-08 05:13 (UTC)

The sha256 signature is outdated.