mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
fix build errors
This commit is contained in:
parent
67c8070323
commit
dd7fd2b722
2 changed files with 5 additions and 5 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,14 +1,14 @@
|
|||
pkgbase = cursor-bin
|
||||
pkgdesc = Write, edit, and chat about your code with GPT-4.(AppImage)
|
||||
pkgver = 0.2.2
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://cursor.so
|
||||
arch = x86_64
|
||||
license = custom
|
||||
depends = hicolor-icon-theme
|
||||
depends = zlib
|
||||
options = !strip
|
||||
source = cursor-0.2.2.AppImage::https://dl.todesktop.com/230313mzl4w4u92/linux/appImage/x64
|
||||
source = Cursor-0.2.2.AppImage::https://dl.todesktop.com/230313mzl4w4u92/linux/appImage/x64
|
||||
sha256sums = b30cda8704954a25279480538bde9f7ec32d9e607415deb855185a0e7465bcfb
|
||||
|
||||
pkgname = cursor-bin
|
||||
|
|
|
|||
6
PKGBUILD
6
PKGBUILD
|
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: TimeTrap <zhaoyuanpan at gmail dot com>
|
||||
pkgname=cursor-bin
|
||||
_pkgname=cursor
|
||||
_pkgname=Cursor
|
||||
pkgver=0.2.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Write, edit, and chat about your code with GPT-4.(AppImage)"
|
||||
arch=('x86_64')
|
||||
url="https://cursor.so"
|
||||
|
|
@ -16,7 +16,7 @@ _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"
|
||||
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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue