blob: 1ca4a581067a050f447c5b211db2141d95d19f70 (
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
|
# Maintainer: Mohammed Anas <anasmohammed361@gmail.com>
pkgname=windsurf-latest
pkgver=1.0.7
pkgrel=1
pkgdesc="Tomorrow's Editor, Today. Built to keep you in flow state with instant, invaluable AI developer assistance."
arch=('x86_64')
url="https://codeium.com"
license=('custom')
depends=(
'alsa-lib'
'dbus'
'expat'
'gcc-libs'
'glibc'
'libdrm'
'libx11'
'libxcb'
'libxcomposite'
'libxdamage'
'libxext'
'libxfixes'
'libxkbcommon'
'libxrandr'
'mesa'
'nspr'
'nss'
'gtk3'
'xdg-utils'
)
optdepends=('vulkan-icd-loader: Vulkan support')
provides=('windsurf')
options=(!strip)
source=("https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-${pkgver}.deb")
sha256sums=('SKIP')
package() {
# Extract package data
bsdtar -xf data.tar.xz -C "${pkgdir}"
# Fix permissions
chmod 4755 "${pkgdir}/usr/share/windsurf/chrome-sandbox"
# Create symlink in /usr/bin
install -dm755 "${pkgdir}/usr/bin"
ln -s /usr/share/windsurf/windsurf "${pkgdir}/usr/bin/windsurf"
# Add desktop entry
install -dm755 "${pkgdir}/usr/share/applications"
cat <<EOF >"${pkgdir}/usr/share/applications/windsurf.desktop"
[Desktop Entry]
Name=Windsurf
Comment=Tomorrow's Editor, Today
Exec=/usr/bin/windsurf
Icon=/usr/share/windsurf/resources/app/resources/linux/code.png
Terminal=false
Type=Application
Categories=Development;IDE;
EOF
}
|