Update to version 1.4.4
This commit is contained in:
@@ -2,22 +2,15 @@ pkgbase = windsurf
|
|||||||
pkgdesc = Tomorrow's Editor, Today. Built to keep you in flow state with instant, invaluable AI developer assistance.
|
pkgdesc = Tomorrow's Editor, Today. Built to keep you in flow state with instant, invaluable AI developer assistance.
|
||||||
pkgver = 1.4.4
|
pkgver = 1.4.4
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://codeium.com/
|
url = https://codeium.com
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
license = custom
|
||||||
depends = alsa-lib
|
depends = alsa-lib
|
||||||
depends = bash
|
|
||||||
depends = cairo
|
|
||||||
depends = dbus
|
depends = dbus
|
||||||
depends = expat
|
depends = expat
|
||||||
depends = fontconfig
|
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
depends = glibc>=2.28-4
|
depends = glibc
|
||||||
depends = gnupg
|
|
||||||
depends = gtk3
|
|
||||||
depends = libdrm
|
depends = libdrm
|
||||||
depends = libnotify
|
|
||||||
depends = libsecret
|
|
||||||
depends = libx11
|
depends = libx11
|
||||||
depends = libxcb
|
depends = libxcb
|
||||||
depends = libxcomposite
|
depends = libxcomposite
|
||||||
@@ -25,29 +18,16 @@ pkgbase = windsurf
|
|||||||
depends = libxext
|
depends = libxext
|
||||||
depends = libxfixes
|
depends = libxfixes
|
||||||
depends = libxkbcommon
|
depends = libxkbcommon
|
||||||
depends = libxkbfile
|
|
||||||
depends = libxrandr
|
depends = libxrandr
|
||||||
depends = libxss
|
|
||||||
depends = libxtst
|
|
||||||
depends = lsof
|
|
||||||
depends = mesa
|
depends = mesa
|
||||||
depends = nspr
|
depends = nspr
|
||||||
depends = nss
|
depends = nss
|
||||||
depends = shared-mime-info
|
depends = gtk3
|
||||||
depends = xdg-utils
|
depends = xdg-utils
|
||||||
optdepends = glib2: Needed for move to trash functionality
|
|
||||||
optdepends = org.freedesktop.secrets: Needed for settings sync
|
|
||||||
optdepends = libdbusmenu-glib: Needed for KDE global menu
|
|
||||||
optdepends = icu69: Needed for live share
|
|
||||||
optdepends = vulkan-icd-loader: Vulkan support
|
optdepends = vulkan-icd-loader: Vulkan support
|
||||||
provides = windsurf
|
provides = windsurf
|
||||||
conflicts = windsurf
|
|
||||||
options = !strip
|
options = !strip
|
||||||
source = https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-1.4.4.deb
|
source = https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-1.4.4.deb
|
||||||
source = windsurf.png::https://raw.githubusercontent.com/watzon/aur-packages/refs/heads/main/packages/windsurf/windsurf.png
|
|
||||||
source = windsurf-bin.sh::https://raw.githubusercontent.com/watzon/aur-packages/refs/heads/main/packages/windsurf/windsurf-bin.sh
|
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 5c54ecf084dbaee5d85036205c2bb2df0d9b2bf77a503d722ee9833e4a236d7a
|
|
||||||
sha256sums = 31a4e5539c27c4aa8de6341e22fb7dbb3c22e01e213aaf345b4729664f579426
|
|
||||||
|
|
||||||
pkgname = windsurf
|
pkgname = windsurf
|
||||||
|
|||||||
@@ -1,27 +1,19 @@
|
|||||||
# Maintainer: Chris Watson <cawatson1993@gmail.com>
|
# Maintainer: Chris Watson <cawatson1993@gmail.com>
|
||||||
|
|
||||||
pkgname=windsurf
|
pkgname=windsurf
|
||||||
_pkgname=windsurf
|
|
||||||
pkgver=1.4.4
|
pkgver=1.4.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Tomorrow's Editor, Today. Built to keep you in flow state with instant, invaluable AI developer assistance."
|
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/"
|
url="https://codeium.com"
|
||||||
license=('MIT')
|
license=('custom')
|
||||||
depends=(
|
depends=(
|
||||||
'alsa-lib'
|
'alsa-lib'
|
||||||
'bash'
|
|
||||||
'cairo'
|
|
||||||
'dbus'
|
'dbus'
|
||||||
'expat'
|
'expat'
|
||||||
'fontconfig'
|
|
||||||
'gcc-libs'
|
'gcc-libs'
|
||||||
'glibc>=2.28-4'
|
'glibc'
|
||||||
'gnupg'
|
|
||||||
'gtk3'
|
|
||||||
'libdrm'
|
'libdrm'
|
||||||
'libnotify'
|
|
||||||
'libsecret'
|
|
||||||
'libx11'
|
'libx11'
|
||||||
'libxcb'
|
'libxcb'
|
||||||
'libxcomposite'
|
'libxcomposite'
|
||||||
@@ -29,90 +21,41 @@ depends=(
|
|||||||
'libxext'
|
'libxext'
|
||||||
'libxfixes'
|
'libxfixes'
|
||||||
'libxkbcommon'
|
'libxkbcommon'
|
||||||
'libxkbfile'
|
|
||||||
'libxrandr'
|
'libxrandr'
|
||||||
'libxss'
|
|
||||||
'libxtst'
|
|
||||||
'lsof'
|
|
||||||
'mesa'
|
'mesa'
|
||||||
'nspr'
|
'nspr'
|
||||||
'nss'
|
'nss'
|
||||||
'shared-mime-info'
|
'gtk3'
|
||||||
'xdg-utils'
|
'xdg-utils'
|
||||||
)
|
)
|
||||||
optdepends=('glib2: Needed for move to trash functionality'
|
optdepends=('vulkan-icd-loader: Vulkan support')
|
||||||
'org.freedesktop.secrets: Needed for settings sync'
|
|
||||||
'libdbusmenu-glib: Needed for KDE global menu'
|
|
||||||
'icu69: Needed for live share'
|
|
||||||
'vulkan-icd-loader: Vulkan support')
|
|
||||||
|
|
||||||
provides=('windsurf')
|
provides=('windsurf')
|
||||||
conflicts=('windsurf')
|
options=(!strip)
|
||||||
options=('!strip')
|
|
||||||
|
|
||||||
#Official Repo URL Prefixes
|
source=("https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-${pkgver}.deb")
|
||||||
_windsurf_deb_repo_url_prefix="https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf"
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
#Github Repo 1 URL Prefixes
|
package() {
|
||||||
_git_repo="https://raw.githubusercontent.com/watzon/aur-packages/refs/heads/main/packages/windsurf"
|
# Extract package data using the new zst archive
|
||||||
|
bsdtar -xf data.tar.zst -C "${pkgdir}"
|
||||||
|
|
||||||
#URLs
|
# Fix permissions
|
||||||
_deb_url1="${_windsurf_deb_repo_url_prefix}/Windsurf-linux-x64-${pkgver}.deb"
|
|
||||||
|
|
||||||
#Checksums
|
|
||||||
_deb_sha256="SKIP"
|
|
||||||
|
|
||||||
source=(
|
|
||||||
$_deb_url1
|
|
||||||
"${_pkgname}.png::${_git_repo}/${_pkgname}.png"
|
|
||||||
"${_pkgname}-bin.sh::${_git_repo}/windsurf-bin.sh"
|
|
||||||
)
|
|
||||||
|
|
||||||
sha256sums=(
|
|
||||||
$_deb_sha256
|
|
||||||
'5c54ecf084dbaee5d85036205c2bb2df0d9b2bf77a503d722ee9833e4a236d7a'
|
|
||||||
'31a4e5539c27c4aa8de6341e22fb7dbb3c22e01e213aaf345b4729664f579426'
|
|
||||||
)
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
mkdir -p "${srcdir}/deb_file/data"
|
|
||||||
bsdtar -xf "${srcdir}/Windsurf-linux-x64-${pkgver}.deb" -C "${srcdir}/deb_file"
|
|
||||||
tar -xf "${srcdir}/deb_file/data.tar.zst" -C "${srcdir}/deb_file/data"
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
# Install main binaries
|
|
||||||
install -d "${pkgdir}/usr/share/${_pkgname}"
|
|
||||||
ls "${srcdir}/${_pkgname}-latest/"
|
|
||||||
cp -r "${srcdir}/${_pkgname}-latest/"* "${pkgdir}/usr/share/${_pkgname}/"
|
|
||||||
|
|
||||||
# Fix chrome-sandbox permissions
|
|
||||||
chmod 4755 "${pkgdir}/usr/share/windsurf/chrome-sandbox"
|
chmod 4755 "${pkgdir}/usr/share/windsurf/chrome-sandbox"
|
||||||
|
|
||||||
# Install binary launcher script
|
# Create symlink in /usr/bin
|
||||||
install -d "${pkgdir}/usr/bin"
|
install -dm755 "${pkgdir}/usr/bin"
|
||||||
install -m755 "${srcdir}/${_pkgname}-bin.sh" "${pkgdir}/usr/bin/${_pkgname}"
|
ln -s /usr/share/windsurf/bin/windsurf "${pkgdir}/usr/bin/windsurf"
|
||||||
|
|
||||||
# Install desktop entry files for application and URL handling
|
# Add desktop entry
|
||||||
install -d "${pkgdir}/usr/share/applications"
|
install -dm755 "${pkgdir}/usr/share/applications"
|
||||||
install -m644 "${srcdir}/deb_file/data/usr/share/applications/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/"
|
cat <<EOF >"${pkgdir}/usr/share/applications/windsurf.desktop"
|
||||||
install -m644 "${srcdir}/deb_file/data/usr/share/applications/${_pkgname}-url-handler.desktop" "${pkgdir}/usr/share/applications/"
|
[Desktop Entry]
|
||||||
|
Name=Windsurf
|
||||||
# Install application metadata (AppStream metainfo)
|
Comment=Tomorrow's Editor, Today
|
||||||
install -d "${pkgdir}/usr/share/metainfo"
|
Exec=/usr/bin/windsurf
|
||||||
install -m644 "${srcdir}/deb_file/data/usr/share/appdata/${_pkgname}.appdata.xml" "${pkgdir}/usr/share/metainfo/com.codeium.${_pkgname}.metainfo.xml"
|
Icon=/usr/share/windsurf/resources/app/resources/linux/code.png
|
||||||
|
Terminal=false
|
||||||
# Install MIME type definitions
|
Type=Application
|
||||||
install -d "${pkgdir}/usr/share/mime/packages"
|
Categories=Development;IDE;
|
||||||
install -m644 "${srcdir}/deb_file/data/usr/share/mime/packages/${_pkgname}-workspace.xml" "${pkgdir}/usr/share/mime/packages/"
|
EOF
|
||||||
|
}
|
||||||
# Install application icon (128x128 resolution)
|
|
||||||
install -d "${pkgdir}/usr/share/icons/hicolor/128x128/apps"
|
|
||||||
install -m644 "${srcdir}/${_pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/${_pkgname}.png"
|
|
||||||
|
|
||||||
# Install shell completion scripts
|
|
||||||
install -d "${pkgdir}/usr/share/bash-completion/completions"
|
|
||||||
install -d "${pkgdir}/usr/share/zsh/site-functions"
|
|
||||||
install -Dm 644 "${srcdir}/deb_file/data/usr/share/bash-completion/completions/${_pkgname}" "${pkgdir}/usr/share/bash-completion/completions/${_pkgname}" #bash
|
|
||||||
install -Dm 644 "${srcdir}/deb_file/data/usr/share/zsh/vendor-completions/_${_pkgname}" "${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}" #zsh
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user