pkgbuild: Add grok-bot-bin from official .deb
Build Arch package / build (push) Failing after 11s

Temporary Arch/CachyOS packaging until upstream ships a native package.
Pulls Cursor's amd64 deb by commit from the linux-x64 update feed.
Includes update script and Gitea Actions for bump + makepkg release.
This commit is contained in:
s1d3sw1ped_bot
2026-09-02 01:10:40 +00:00
parent 581f073b2f
commit 33e191de2b
6 changed files with 280 additions and 1 deletions
+59 -1
View File
@@ -1,3 +1,61 @@
# grok-bot-bin
Unofficial Arch/CachyOS package of the official Grok Bot .deb
Unofficial Arch / CachyOS package of the official [Grok Bot](https://cursor.com/download/bot) `.deb`. Temporary until upstream packages for Arch.
Not affiliated with Cursor / SpaceXAI. The app binary is unchanged; this only repacks it for `pacman`.
## Install (build locally)
```bash
git clone https://git.s1d3sw1ped.com/s1d3sw1ped/grok-bot-bin.git
cd grok-bot-bin
makepkg -si
```
With an AUR helper against this git URL:
```bash
paru -S grok-bot-bin --aururl https://git.s1d3sw1ped.com
# or:
yay -S grok-bot-bin # after cloning locally / using a custom AUR mirror
```
Simplest reliable path on CachyOS today:
```bash
makepkg -si
```
## Install from a release package
When CI has published a `.pkg.tar.zst` on the [Releases](https://git.s1d3sw1ped.com/s1d3sw1ped/grok-bot-bin/releases) page:
```bash
curl -LO 'https://git.s1d3sw1ped.com/s1d3sw1ped/grok-bot-bin/releases/download/v0.30.0/grok-bot-bin-0.30.0-1-x86_64.pkg.tar.zst'
sudo pacman -U grok-bot-bin-0.30.0-1-x86_64.pkg.tar.zst
```
Download first, then `pacman -U` the local file (`LocalFileSigLevel = Optional`). Do not pass the remote URL straight to pacman if signatures are required.
## Custom pacman repo (optional)
After CI publishes a repo database under Releases (or Packages), add to `/etc/pacman.conf`:
```ini
[grok-bot]
SigLevel = Optional TrustAll
Server = https://git.s1d3sw1ped.com/s1d3sw1ped/grok-bot-bin/releases/latest/download
```
Exact `Server=` URL may change once the first repo DB lands; `makepkg -si` works regardless.
## Updating
`./scripts/update.sh` reads Cursor's linux-x64 update feed, downloads the matching `.deb`, and bumps `pkgver` / `_commit` / `sha256sums` in `PKGBUILD` and `.SRCINFO`.
Scheduled Gitea Actions will do the same and build a release package.
## Notes
- Linux has no in-app updater for Grok Bot; re-run update + `makepkg -si` (or install the newer release).
- `chrome-sandbox` is left non-setuid because the install path contains a space; user namespaces cover sandboxing on CachyOS.