Package Details: cursor-appimage 0.33.1-1

Git Clone URL: https://aur.archlinux.org/cursor-appimage.git (read-only, click to copy)
Package Base: cursor-appimage
Description: Write, edit, and chat about your code with GPT. (AppImage)
Upstream URL: https://cursor.so
Licenses: custom
Submitter: TimeTrap
Maintainer: Menghuan1918
Last Packager: Menghuan1918
Votes: 10
Popularity: 0.49
First Submitted: 2023-08-27 09:58 (UTC)
Last Updated: 2024-05-04 05:01 (UTC)

Latest Comments

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

r3f commented on 2023-08-30 16:56 (UTC) (edited on 2023-08-30 16:58 (UTC) by r3f)

btw 0.9.0 latest

==> Validating source files with sha256sums... cursor-0.8.6.AppImage ... FAILED ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'cursor-appimage-0.8.6-1': error: packages failed to build: cursor-appimage-0.8.6-1 ➜ ~

r3f commented on 2023-08-30 16:52 (UTC)

TimeTrap thx man

TimeTrap commented on 2023-08-27 13:12 (UTC)

Since the current maintainer no longer updates the package, and some people hope that I can continue to update the package, I created a new repo cursor-appimage and used github actions for automatic updates

usama commented on 2023-08-26 10:38 (UTC) (edited on 2023-08-26 10:39 (UTC) by usama)

Wake up bae, new version of cursor dropped.

pkgname=cursor-bin
_pkgname=cursor
pkgver=0.8.4
pkgrel=1
pkgdesc="Write, edit, and chat about your code with GPT-3.(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=('072226c8bb837d512c9c573f6da2bdfffedec146db2b6fa569c38b58ed364dbd')
_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/cursor.desktop"
    sed 's/Exec=\/opt\/appimages\/Cursor.AppImage/Exec=\/opt\/appimages\/cursor.AppImage/g' -i "${srcdir}/squashfs-root/cursor.desktop"
    sed 's/StartupWMClass=Cursor/StartupWMClass=cursor/g' -i "${srcdir}/squashfs-root/cursor.desktop"

}
package() {
    install -Dm755 "${srcdir}/${_pkgname}-${pkgver}.AppImage" "${pkgdir}/${_install_path}/${_pkgname}.AppImage"
    for _icons in 32x32 64x64 128x128 256x256 512x512;do
        install -Dm645 "${srcdir}/squashfs-root/usr/share/icons/hicolor/${_icons}/apps/cursor.png" "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/cursor.png"
    done

    install -Dm755 "${srcdir}/squashfs-root/cursor.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
}

As usual just install it using

makepkg -si

jalf commented on 2023-08-22 12:56 (UTC) (edited on 2023-08-22 12:56 (UTC) by jalf)

This was my solution while the author fixes the package

# Maintainer: Jingu <xiuluo dot android at gmail dot com>
# Contributor: TimeTrap <zhaoyuanpan at gmail dot com>
https://dl.todesktop.com/230313mzl4w4u92/linux/appImage/x64
pkgname=cursor-bin
_pkgname=cursor
pkgver=0.7.3
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=('a30805a3ee76f2beda66b58cc917f754ab7b4e12ac600e67d8bd0e055724e53e')
_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"
}

r3f commented on 2023-08-21 17:51 (UTC)

awesome. thx

usama commented on 2023-08-20 12:39 (UTC) (edited on 2023-08-26 10:39 (UTC) by usama)

Ok seeing as the mantainer has neglected this package here is the modified PKGBUILD that I modified to the version 1.7.3 that works

EDIT: Look my latest comment

r3f commented on 2023-08-07 15:15 (UTC)

The maintainer has stopped updating this package.

zxeoc commented on 2023-07-31 07:09 (UTC)

I think this is trying to download the latest pkg and validating it as 0.2.31-1. That's why the validity check fails.