Update to version 1.0.2
This commit is contained in:
@@ -1,31 +1,40 @@
|
||||
pkgbase = windsurf
|
||||
pkgdesc = AI-first code editor from Codeium, based on VS Code
|
||||
pkgdesc = Tomorrow's Editor, Today. Built to keep you in flow state with instant, invaluable AI developer assistance.
|
||||
pkgver = 1.0.2
|
||||
pkgrel = 1
|
||||
url = https://codeium.com/windsurf
|
||||
url = https://codeium.com
|
||||
arch = x86_64
|
||||
license = custom
|
||||
depends = alsa-lib
|
||||
depends = at-spi2-core
|
||||
depends = cairo
|
||||
depends = cups
|
||||
depends = dbus
|
||||
depends = expat
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = gnupg
|
||||
depends = gtk3
|
||||
depends = libnotify
|
||||
depends = libsecret
|
||||
depends = libdrm
|
||||
depends = libx11
|
||||
depends = libxcb
|
||||
depends = libxcomposite
|
||||
depends = libxdamage
|
||||
depends = libxext
|
||||
depends = libxfixes
|
||||
depends = libxkbcommon
|
||||
depends = libxkbfile
|
||||
depends = libxss
|
||||
depends = lsof
|
||||
depends = libxrandr
|
||||
depends = mesa
|
||||
depends = nspr
|
||||
depends = nss
|
||||
depends = shared-mime-info
|
||||
depends = pango
|
||||
depends = gtk3
|
||||
depends = xdg-utils
|
||||
optdepends = glib2: move to trash functionality
|
||||
optdepends = icu69: live share
|
||||
optdepends = libdbusmenu-glib: KDE global menu
|
||||
optdepends = org.freedesktop.secrets: keyring storage
|
||||
provides = windsurf
|
||||
optdepends = vulkan-icd-loader: Vulkan support
|
||||
provides = visual-studio-windsurf
|
||||
conflicts = visual-studio-windsurf
|
||||
replaces = visual-studio-windsurf
|
||||
options = !strip
|
||||
options = !emptydirs
|
||||
source = https://windsurf-stable.codeiumdata.com/linux-x64/stable/56025767068f846a4d68adf1914f19f9c34e1375/Windsurf-linux-x64-1.0.2.tar.gz
|
||||
sha256sums = 6315e74b08d5f3fd0ed9295bea8a4a7c47518866ed05a015911a60fc15e57fa8
|
||||
source = https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-1.0.2.deb
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = windsurf
|
||||
|
||||
@@ -3,75 +3,53 @@
|
||||
pkgname=windsurf
|
||||
pkgver=1.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="AI-first code editor from Codeium, based on VS Code"
|
||||
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/windsurf"
|
||||
url="https://codeium.com"
|
||||
license=('custom')
|
||||
depends=(
|
||||
'alsa-lib'
|
||||
'at-spi2-core'
|
||||
'cairo'
|
||||
'cups'
|
||||
'dbus'
|
||||
'expat'
|
||||
'gcc-libs'
|
||||
'glibc'
|
||||
'gnupg'
|
||||
'gtk3'
|
||||
'libnotify'
|
||||
'libsecret'
|
||||
'libdrm'
|
||||
'libx11'
|
||||
'libxcb'
|
||||
'libxcomposite'
|
||||
'libxdamage'
|
||||
'libxext'
|
||||
'libxfixes'
|
||||
'libxkbcommon'
|
||||
'libxkbfile'
|
||||
'libxss'
|
||||
'lsof'
|
||||
'libxrandr'
|
||||
'mesa'
|
||||
'nspr'
|
||||
'nss'
|
||||
'shared-mime-info'
|
||||
'pango'
|
||||
'gtk3'
|
||||
'xdg-utils'
|
||||
)
|
||||
optdepends=(
|
||||
'glib2: move to trash functionality'
|
||||
'icu69: live share'
|
||||
'libdbusmenu-glib: KDE global menu'
|
||||
'org.freedesktop.secrets: keyring storage'
|
||||
)
|
||||
provides=('windsurf')
|
||||
conflicts=()
|
||||
options=('!strip' '!emptydirs')
|
||||
source=("https://windsurf-stable.codeiumdata.com/linux-x64/stable/56025767068f846a4d68adf1914f19f9c34e1375/Windsurf-linux-x64-${pkgver}.tar.gz")
|
||||
sha256sums=('6315e74b08d5f3fd0ed9295bea8a4a7c47518866ed05a015911a60fc15e57fa8')
|
||||
optdepends=('vulkan-icd-loader: Vulkan support')
|
||||
provides=('visual-studio-windsurf')
|
||||
conflicts=('visual-studio-windsurf')
|
||||
replaces=('visual-studio-windsurf')
|
||||
options=(!strip)
|
||||
|
||||
source=("https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-${pkgver}.deb")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/Windsurf"
|
||||
|
||||
# Create installation directories
|
||||
install -dm755 "${pkgdir}/opt/${pkgname}"
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
|
||||
# Copy application files
|
||||
cp -r * "${pkgdir}/opt/${pkgname}/"
|
||||
|
||||
# Install license if it exists
|
||||
if [ -f "LICENSES.chromium.html" ]; then
|
||||
install -Dm644 "LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
fi
|
||||
|
||||
# Install icon
|
||||
install -Dm644 "resources/app/resources/linux/code.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
|
||||
|
||||
# Create launcher script
|
||||
cat > "${pkgdir}/usr/bin/${pkgname}" << EOF
|
||||
#!/bin/bash
|
||||
exec /opt/${pkgname}/windsurf "\$@"
|
||||
EOF
|
||||
chmod 755 "${pkgdir}/usr/bin/${pkgname}"
|
||||
# Extract package data
|
||||
bsdtar -xf data.tar.xz -C "${pkgdir}"
|
||||
|
||||
# Create desktop entry
|
||||
install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/${pkgname}.desktop" << EOF
|
||||
[Desktop Entry]
|
||||
Name=Windsurf
|
||||
Comment=AI-first code editor from Codeium
|
||||
GenericName=Text Editor
|
||||
Exec=/usr/bin/windsurf %F
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=${pkgname}
|
||||
Categories=Development;TextEditor;Utility;
|
||||
Keywords=windsurf;vscode;code;ide;editor;
|
||||
MimeType=text/plain;inode/directory;
|
||||
StartupWMClass=windsurf
|
||||
EOF
|
||||
# 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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user