@bajbaj There should be no problem now.
Search Criteria
Package Details: cursor-bin 0.1.11-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/cursor-bin.git (read-only, click to copy) |
---|---|
Package Base: | cursor-bin |
Description: | Write, edit, and chat about your code with GPT-4.(AppImage) |
Upstream URL: | https://cursor.so |
Licenses: | custom |
Submitter: | TimeTrap |
Maintainer: | TimeTrap |
Last Packager: | TimeTrap |
Votes: | 2 |
Popularity: | 1.67 |
First Submitted: | 2023-03-18 07:08 (UTC) |
Last Updated: | 2023-03-29 04:14 (UTC) |
Dependencies (2)
Required by (0)
Sources (1)
TimeTrap commented on 2023-03-29 04:15 (UTC)
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
Pinned Comments
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.