Update to version 1.0.2
This commit is contained in:
@@ -1,31 +1,40 @@
|
|||||||
pkgbase = windsurf
|
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
|
pkgver = 1.0.2
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://codeium.com/windsurf
|
url = https://codeium.com
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom
|
license = custom
|
||||||
depends = alsa-lib
|
depends = alsa-lib
|
||||||
|
depends = at-spi2-core
|
||||||
|
depends = cairo
|
||||||
|
depends = cups
|
||||||
|
depends = dbus
|
||||||
|
depends = expat
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
depends = glibc
|
depends = glibc
|
||||||
depends = gnupg
|
depends = libdrm
|
||||||
depends = gtk3
|
depends = libx11
|
||||||
depends = libnotify
|
depends = libxcb
|
||||||
depends = libsecret
|
depends = libxcomposite
|
||||||
|
depends = libxdamage
|
||||||
|
depends = libxext
|
||||||
|
depends = libxfixes
|
||||||
|
depends = libxkbcommon
|
||||||
depends = libxkbfile
|
depends = libxkbfile
|
||||||
depends = libxss
|
depends = libxrandr
|
||||||
depends = lsof
|
depends = mesa
|
||||||
|
depends = nspr
|
||||||
depends = nss
|
depends = nss
|
||||||
depends = shared-mime-info
|
depends = pango
|
||||||
|
depends = gtk3
|
||||||
depends = xdg-utils
|
depends = xdg-utils
|
||||||
optdepends = glib2: move to trash functionality
|
optdepends = vulkan-icd-loader: Vulkan support
|
||||||
optdepends = icu69: live share
|
provides = visual-studio-windsurf
|
||||||
optdepends = libdbusmenu-glib: KDE global menu
|
conflicts = visual-studio-windsurf
|
||||||
optdepends = org.freedesktop.secrets: keyring storage
|
replaces = visual-studio-windsurf
|
||||||
provides = windsurf
|
|
||||||
options = !strip
|
options = !strip
|
||||||
options = !emptydirs
|
source = https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-1.0.2.deb
|
||||||
source = https://windsurf-stable.codeiumdata.com/linux-x64/stable/56025767068f846a4d68adf1914f19f9c34e1375/Windsurf-linux-x64-1.0.2.tar.gz
|
sha256sums = SKIP
|
||||||
sha256sums = 6315e74b08d5f3fd0ed9295bea8a4a7c47518866ed05a015911a60fc15e57fa8
|
|
||||||
|
|
||||||
pkgname = windsurf
|
pkgname = windsurf
|
||||||
|
|||||||
@@ -3,75 +3,53 @@
|
|||||||
pkgname=windsurf
|
pkgname=windsurf
|
||||||
pkgver=1.0.2
|
pkgver=1.0.2
|
||||||
pkgrel=1
|
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')
|
arch=('x86_64')
|
||||||
url="https://codeium.com/windsurf"
|
url="https://codeium.com"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
depends=(
|
depends=(
|
||||||
'alsa-lib'
|
'alsa-lib'
|
||||||
|
'at-spi2-core'
|
||||||
|
'cairo'
|
||||||
|
'cups'
|
||||||
|
'dbus'
|
||||||
|
'expat'
|
||||||
'gcc-libs'
|
'gcc-libs'
|
||||||
'glibc'
|
'glibc'
|
||||||
'gnupg'
|
'libdrm'
|
||||||
'gtk3'
|
'libx11'
|
||||||
'libnotify'
|
'libxcb'
|
||||||
'libsecret'
|
'libxcomposite'
|
||||||
|
'libxdamage'
|
||||||
|
'libxext'
|
||||||
|
'libxfixes'
|
||||||
|
'libxkbcommon'
|
||||||
'libxkbfile'
|
'libxkbfile'
|
||||||
'libxss'
|
'libxrandr'
|
||||||
'lsof'
|
'mesa'
|
||||||
|
'nspr'
|
||||||
'nss'
|
'nss'
|
||||||
'shared-mime-info'
|
'pango'
|
||||||
|
'gtk3'
|
||||||
'xdg-utils'
|
'xdg-utils'
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=('vulkan-icd-loader: Vulkan support')
|
||||||
'glib2: move to trash functionality'
|
provides=('visual-studio-windsurf')
|
||||||
'icu69: live share'
|
conflicts=('visual-studio-windsurf')
|
||||||
'libdbusmenu-glib: KDE global menu'
|
replaces=('visual-studio-windsurf')
|
||||||
'org.freedesktop.secrets: keyring storage'
|
options=(!strip)
|
||||||
)
|
|
||||||
provides=('windsurf')
|
source=("https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-${pkgver}.deb")
|
||||||
conflicts=()
|
sha256sums=('SKIP')
|
||||||
options=('!strip' '!emptydirs')
|
|
||||||
source=("https://windsurf-stable.codeiumdata.com/linux-x64/stable/56025767068f846a4d68adf1914f19f9c34e1375/Windsurf-linux-x64-${pkgver}.tar.gz")
|
|
||||||
sha256sums=('6315e74b08d5f3fd0ed9295bea8a4a7c47518866ed05a015911a60fc15e57fa8')
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/Windsurf"
|
# Extract package data
|
||||||
|
bsdtar -xf data.tar.xz -C "${pkgdir}"
|
||||||
|
|
||||||
# Create installation directories
|
# Fix permissions
|
||||||
install -dm755 "${pkgdir}/opt/${pkgname}"
|
chmod 4755 "${pkgdir}/usr/share/windsurf/chrome-sandbox"
|
||||||
|
|
||||||
|
# Create symlink in /usr/bin
|
||||||
install -dm755 "${pkgdir}/usr/bin"
|
install -dm755 "${pkgdir}/usr/bin"
|
||||||
|
ln -s /usr/share/windsurf/windsurf "${pkgdir}/usr/bin/windsurf"
|
||||||
# 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}"
|
|
||||||
|
|
||||||
# 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
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user