All checks were successful
Update checker - cursor / check-update (push) Successful in 9s
24 lines
710 B
Bash
24 lines
710 B
Bash
_cursor_version=2.1.39
|
|
_cursor_url=https://downloads.cursor.com/production/60d42bed27e5775c43ec0428d8c653c49e58e26a/linux/x64/deb/amd64/deb/cursor_2.1.39_amd64.deb
|
|
|
|
pkgname=cursor
|
|
pkgver="${_cursor_version}"
|
|
pkgrel=1
|
|
pkgdesc='Cursor - The AI Code Editor'
|
|
arch=('x86_64')
|
|
url='https://www.cursor.com/'
|
|
license=('custom:Proprietary')
|
|
source_x86_64=("cursor-${_cursor_version}.deb::${_cursor_url}")
|
|
sha512sums_x86_64=('SKIP')
|
|
options=('!debug')
|
|
|
|
prepare() {
|
|
install -dm 755 "${srcdir}/root/usr/bin"
|
|
tar xf "${srcdir}/data.tar.xz" -C "${srcdir}/root"
|
|
}
|
|
|
|
package() {
|
|
cp -r --no-preserve=ownership --preserve=mode "${srcdir}/root/"* "${pkgdir}"
|
|
ln -sf "/usr/share/cursor/bin/cursor" "${pkgdir}/usr/bin/cursor"
|
|
}
|