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 »

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!

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.