Update to version 1.4.4
This commit is contained in:
@@ -2,15 +2,22 @@ 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 = custom
|
license = MIT
|
||||||
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
|
depends = glibc>=2.28-4
|
||||||
|
depends = gnupg
|
||||||
|
depends = gtk3
|
||||||
depends = libdrm
|
depends = libdrm
|
||||||
|
depends = libnotify
|
||||||
|
depends = libsecret
|
||||||
depends = libx11
|
depends = libx11
|
||||||
depends = libxcb
|
depends = libxcb
|
||||||
depends = libxcomposite
|
depends = libxcomposite
|
||||||
@@ -18,16 +25,29 @@ 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 = gtk3
|
depends = shared-mime-info
|
||||||
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 = 5288e6a845852d5fc1c6045da57d5b973bd24eda866d4222a8cee41ffb0c6041
|
||||||
|
|
||||||
pkgname = windsurf
|
pkgname = windsurf
|
||||||
|
|||||||
@@ -1,19 +1,27 @@
|
|||||||
# 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=('custom')
|
license=('MIT')
|
||||||
depends=(
|
depends=(
|
||||||
'alsa-lib'
|
'alsa-lib'
|
||||||
|
'bash'
|
||||||
|
'cairo'
|
||||||
'dbus'
|
'dbus'
|
||||||
'expat'
|
'expat'
|
||||||
|
'fontconfig'
|
||||||
'gcc-libs'
|
'gcc-libs'
|
||||||
'glibc'
|
'glibc>=2.28-4'
|
||||||
|
'gnupg'
|
||||||
|
'gtk3'
|
||||||
'libdrm'
|
'libdrm'
|
||||||
|
'libnotify'
|
||||||
|
'libsecret'
|
||||||
'libx11'
|
'libx11'
|
||||||
'libxcb'
|
'libxcb'
|
||||||
'libxcomposite'
|
'libxcomposite'
|
||||||
@@ -21,41 +29,90 @@ depends=(
|
|||||||
'libxext'
|
'libxext'
|
||||||
'libxfixes'
|
'libxfixes'
|
||||||
'libxkbcommon'
|
'libxkbcommon'
|
||||||
|
'libxkbfile'
|
||||||
'libxrandr'
|
'libxrandr'
|
||||||
|
'libxss'
|
||||||
|
'libxtst'
|
||||||
|
'lsof'
|
||||||
'mesa'
|
'mesa'
|
||||||
'nspr'
|
'nspr'
|
||||||
'nss'
|
'nss'
|
||||||
'gtk3'
|
'shared-mime-info'
|
||||||
'xdg-utils'
|
'xdg-utils'
|
||||||
)
|
)
|
||||||
optdepends=('vulkan-icd-loader: Vulkan support')
|
optdepends=('glib2: Needed for move to trash functionality'
|
||||||
|
'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')
|
||||||
options=(!strip)
|
conflicts=('windsurf')
|
||||||
|
options=('!strip')
|
||||||
|
|
||||||
source=("https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-${pkgver}.deb")
|
#Official Repo URL Prefixes
|
||||||
sha256sums=('SKIP')
|
_windsurf_deb_repo_url_prefix="https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf"
|
||||||
|
|
||||||
package() {
|
#Github Repo 1 URL Prefixes
|
||||||
# Extract package data using the new zst archive
|
_git_repo="https://raw.githubusercontent.com/watzon/aur-packages/refs/heads/main/packages/windsurf"
|
||||||
bsdtar -xf data.tar.zst -C "${pkgdir}"
|
|
||||||
|
|
||||||
# Fix permissions
|
#URLs
|
||||||
chmod 4755 "${pkgdir}/usr/share/windsurf/chrome-sandbox"
|
_deb_url1="${_windsurf_deb_repo_url_prefix}/Windsurf-linux-x64-${pkgver}.deb"
|
||||||
|
|
||||||
# Create symlink in /usr/bin
|
#Checksums
|
||||||
install -dm755 "${pkgdir}/usr/bin"
|
_deb_sha256="SKIP"
|
||||||
ln -s /usr/share/windsurf/bin/windsurf "${pkgdir}/usr/bin/windsurf"
|
|
||||||
|
source=(
|
||||||
# Add desktop entry
|
$_deb_url1
|
||||||
install -dm755 "${pkgdir}/usr/share/applications"
|
"${_pkgname}.png::${_git_repo}/${_pkgname}.png"
|
||||||
cat <<EOF >"${pkgdir}/usr/share/applications/windsurf.desktop"
|
"${_pkgname}-bin.sh::${_git_repo}/windsurf-bin.sh"
|
||||||
[Desktop Entry]
|
)
|
||||||
Name=Windsurf
|
|
||||||
Comment=Tomorrow's Editor, Today
|
sha256sums=(
|
||||||
Exec=/usr/bin/windsurf
|
$_deb_sha256
|
||||||
Icon=/usr/share/windsurf/resources/app/resources/linux/code.png
|
'5c54ecf084dbaee5d85036205c2bb2df0d9b2bf77a503d722ee9833e4a236d7a'
|
||||||
Terminal=false
|
'5288e6a845852d5fc1c6045da57d5b973bd24eda866d4222a8cee41ffb0c6041'
|
||||||
Type=Application
|
)
|
||||||
Categories=Development;IDE;
|
|
||||||
EOF
|
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}"
|
||||||
|
cp -r "${srcdir}/deb_file/data/usr/share/${_pkgname}" "${pkgdir}/usr/share/"
|
||||||
|
|
||||||
|
# Fix chrome-sandbox permissions
|
||||||
|
chmod 4755 "${pkgdir}/usr/share/${_pkgname}/chrome-sandbox"
|
||||||
|
|
||||||
|
# Install binary launcher script
|
||||||
|
install -d "${pkgdir}/usr/bin"
|
||||||
|
install -m755 "${srcdir}/${_pkgname}-bin.sh" "${pkgdir}/usr/bin/${_pkgname}"
|
||||||
|
|
||||||
|
# Install desktop entry files for application and URL handling
|
||||||
|
install -d "${pkgdir}/usr/share/applications"
|
||||||
|
install -m644 "${srcdir}/deb_file/data/usr/share/applications/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/"
|
||||||
|
install -m644 "${srcdir}/deb_file/data/usr/share/applications/${_pkgname}-url-handler.desktop" "${pkgdir}/usr/share/applications/"
|
||||||
|
|
||||||
|
# Install application metadata (AppStream metainfo)
|
||||||
|
install -d "${pkgdir}/usr/share/metainfo"
|
||||||
|
install -m644 "${srcdir}/deb_file/data/usr/share/appdata/${_pkgname}.appdata.xml" "${pkgdir}/usr/share/metainfo/com.codeium.${_pkgname}.metainfo.xml"
|
||||||
|
|
||||||
|
# Install MIME type definitions
|
||||||
|
install -d "${pkgdir}/usr/share/mime/packages"
|
||||||
|
install -m644 "${srcdir}/deb_file/data/usr/share/mime/packages/${_pkgname}-workspace.xml" "${pkgdir}/usr/share/mime/packages/"
|
||||||
|
|
||||||
|
# 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