blob: 8b4659290710b60b85a129883d9e89f065321599 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# windsurf-bin
Binary pre-built version of [Windsurf](https://windsurf.com/), the new purpose-built IDE to harness magic.
## About this package
This package provides the binary version of Windsurf Editor, downloaded directly from the official Windsurf releases. It conflicts with the `windsurf` package to avoid conflicts.
## Installation
### From AUR (once published)
```bash
paru -S windsurf-bin
# or
yay -S windsurf-bin
```
### Manual installation
```bash
git clone https://aur.archlinux.org/windsurf-bin.git
cd windsurf-bin
makepkg -si
```
## Updating the package
To update this package to a new Windsurf version:
1. Get the latest version info from the Windsurf API:
```bash
curl -s https://windsurf-stable.codeium.com/api/update/linux-x64/stable/latest
```
2. Extract the download URL and SHA256 hash from the JSON response:
```bash
curl -s https://windsurf-stable.codeium.com/api/update/linux-x64/stable/latest | jq -r '.url, .sha256hash'
```
3. Update the PKGBUILD:
- Update `pkgver` with the new version (from `windsurfVersion` field)
- Update `_url` with the new download URL
- Update `sha256sums` with the new SHA256 hash
4. Generate the new .SRCINFO:
```bash
makepkg --printsrcinfo > .SRCINFO
```
5. Commit and push the changes:
```bash
git add PKGBUILD .SRCINFO
git commit -m "Update to version X.X.X"
git push
```
## Package details
- **Installation directory**: `/opt/windsurf-bin`
- **Executable**: `/usr/bin/windsurf` (symlink to `/opt/windsurf-bin/windsurf`)
- **Desktop entry**: `/usr/share/applications/windsurf.desktop`
- **Icon**: `/usr/share/pixmaps/windsurf.png`
## Dependencies
- `glibc>=2.28`
- `gcc-libs`
- `gtk3`
- `nss`
- `libgbm`
- `libxkbcommon`
- `libdrm`
- `alsa-lib`
- `libnotify`
- `libsecret`
- `libxss`
- `libxtst`
- `xdg-utils`
## Optional dependencies
- `glib2`: Move to trash functionality
- `org.freedesktop.secrets`: Sync settings (e.g., gnome-keyring, pass)
- `libdbusmenu-glib`: KDE global menu
## License
This package follows the same license as Windsurf Editor (LicenseRef-Windsurf Editor).
## Maintainer
This package is maintained independently from the official `windsurf` AUR package.
|