Package Details: cursor-bin 0.48.8-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: 44
Popularity: 11.41
First Submitted: 2024-06-09 14:27 (UTC)
Last Updated: 2025-04-07 22:06 (UTC)

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 Next › Last »

orzogc commented on 2023-04-07 07:29 (UTC)

Failed to build cursor-bin:

sed: can't read /tmp/aurutils/aur-sync/cursor-bin/src/squashfs-root/cursor.desktop: No such file or directory

It seems that cursor.desktop has been renamed to Cursor.desktop and also cursor.png.

Crany commented on 2023-04-07 06:36 (UTC)

你好,就在刚才我想要安装的时候终端给出以下提示

arch 福 ~ 
1009 ◯ : yay -S cursor-bin                                                                                                                [~]
AUR Explicit (1): cursor-bin-0.1.12-1
:: (1/1) 下载了 PKGBUILD: cursor-bin
  1 cursor-bin                               (构建文件已存在)
==> 清理哪些软件包的构建文件?==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==> 
  1 cursor-bin                               (构建文件已存在)
==> 显示哪些差异?==> [N]没有 [A]全部 [Ab]中止 [I]已安装 [No]未安装 或 (1 2 3, 1-3, ^4)
==> 
==> 正在创建软件包:cursor-bin 0.1.12-1 (2023年04月07日 星期五 14时31分28秒)
==> 获取源代码...
  -> 正在下载 cursor-0.1.12.AppImage...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  139M  100  139M    0     0  7008k      0  0:00:20  0:00:20 --:--:-- 9426k
==> 正在验证 source 文件,使用sha256sums...
    cursor-0.1.12.AppImage ... 失败==> 错误: 一个或多个文件没有通过有效性检查! -> 下载源文件时出错: /home/crany/.cache/yay/cursor-bin 
         context: exit status 1 


:: (1/1) 正在解析 SRCINFO: cursor-bin
==> 正在创建软件包:cursor-bin 0.1.12-1 (2023年04月07日 星期五 14时31分50秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系==> 获取源代码...
  -> 找到 cursor-0.1.12.AppImage
==> 正在验证 source 文件,使用sha256sums...
    cursor-0.1.12.AppImage ... 失败==> 错误: 一个或多个文件没有通过有效性检查! -> 生成时出错: cursor-bin-exit status 1
 -> 无法安装以下软件包, 需要手动介入处理:
cursor-bin - exit status 1

TimeTrap commented on 2023-03-29 04:15 (UTC)

@bajbaj There should be no problem now.

TimeTrap commented on 2023-03-29 04:07 (UTC)

@bajbaj I can't reproduce this problem. Could you provide more information?

bajbaj commented on 2023-03-29 04:00 (UTC) (edited on 2023-03-29 04:01 (UTC) by bajbaj)

No such file

==> Starting prepare()...
sed: can't read /var/tmp/pamac-build-/cursor-bin/src/squashfs-root/Cursor.desktop: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

TimeTrap commented on 2023-03-29 03:51 (UTC)

If you find that the validity of the file cannot be verified, please mark the software package as expired and I will update it.

TimeTrap commented on 2023-03-25 11:20 (UTC)

@dreieck could you please tell me which dependency should be added? I'm not familiar with it.

frat commented on 2023-03-25 09:24 (UTC)


# Maintainer: TimeTrap <zhaoyuanpan at gmail dot com>
pkgname=cursor-bin
_pkgname=Cursor
pkgver=0.1.7
pkgrel=1
pkgdesc="Write, edit, and chat about your code with GPT-4.(AppImage)"
arch=('x86_64')
url="https://cursor.so"
license=('custom')
options=('!strip')
depends=('hicolor-icon-theme' 'zlib')
source=("${_pkgname}-${pkgver}.AppImage::https://dl.todesktop.com/230313mzl4w4u92/linux/appImage/x64")
sha256sums=('bf739294bbac9d9c906455424a013cce3a178adc18380d64f58d401f0e364541')
_install_path="/opt/appimages"

prepare() {
    chmod a+x "${_pkgname}-${pkgver}.AppImage"
    "./${_pkgname}-${pkgver}.AppImage" --appimage-extract > /dev/null
    sed 's/AppRun/\/opt\/appimages\/Cursor.AppImage/g' -i "${srcdir}/squashfs-root/${_pkgname}.desktop"
}
package() {
    install -Dm755 "${srcdir}/${_pkgname}-${pkgver}.AppImage" "${pkgdir}/${_install_path}/${_pkgname}.AppImage"
    for _icons in 32x32 64x64 128x128 256x256 512x512;do
        install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/${_icons}/apps/${_pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/${_pkgname}.png"
    done
    install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
}

dreieck commented on 2023-03-24 14:46 (UTC)

I think some dependency needs to be added to run the "AppImage"-file.

Regards!