diff --git a/.SRCINFO b/.SRCINFO index 1a59ca8..50984c8 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -19,6 +19,7 @@ pkgbase = windsurf optdepends = libdbusmenu-glib: KDE global menu optdepends = lsof: Terminal splitting optdepends = vulkan-driver + noextract = Windsurf-linux-x64-1.12.28.deb options = !strip source = https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-1.12.28.deb source = https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh diff --git a/PKGBUILD b/PKGBUILD index b8a5c71..8ef4311 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -26,8 +26,9 @@ source=("https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/ "https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh") sha256sums=('4dce3a672bab1551eb4868ce210dbba31bfcc87d91ad261d894c95fe646b1145' '5da1525b5fe804b9192c05e1cbf8d751d852e3717fb2787c7ffe98fd5d93e8c1') +noextract=(Windsurf-linux-x64-${pkgver}.deb) # avoid double tarball build() { - tar -xf "data.tar.xz" --exclude 'usr/share/windsurf/[^r]*' --exclude 'usr/share/windsurf/*.pak' + bsdtar -xOf ${noextract[0]} data.tar.xz | tar -xJf - --exclude 'usr/share/windsurf/[^r]*' --exclude 'usr/share/windsurf/*.pak' # Fix path mv usr/share/{appdata,metainfo} mv usr/share/zsh/{vendor-completions,site-functions}