Package Details: cursor-appimage 0.44.8-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: 11
Popularity: 0.21
First Submitted: 2023-08-27 09:58 (UTC)
Last Updated: 2024-12-27 02:16 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5

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!

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

Checksum verification fails:

==> Validating source files with sha256sums...
    Cursor-0.1.3.AppImage ... FAILED

Regards!

shore commented on 2023-03-21 07:37 (UTC)

@timetrap thanks very much

TimeTrap commented on 2023-03-20 02:07 (UTC)

@shore fixed.

shore commented on 2023-03-20 01:57 (UTC)

file checking error and stopped installing