From ea2e327511e41e74c77a057771b28f38e8b282be Mon Sep 17 00:00:00 2001 From: Igor Barcik Date: Thu, 4 Jun 2026 18:27:28 +0200 Subject: [PATCH] Update to version 3.0.21 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump pkgver and sha256sums for devin-desktop 3.0.21. Drop stale appdata/zsh mv lines from build() — no longer present in the deb. Update updater to use dynamic deb_path from the Packages index, remove .SRCINFO auto-update (now handled manually), reset pkgrel=1 on each bump, and switch build hint to paru -Bi. Add pkg/ to cleanup. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .SRCINFO | 10 +++++----- PKGBUILD | 9 +++------ cleanup.sh | 3 ++- update-windsurf.sh | 17 +++++------------ 4 files changed, 15 insertions(+), 24 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 6f9e977..64c3c61 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = devin-desktop pkgdesc = Devin - the AI software engineer IDE - pkgver = 2.3.15 + pkgver = 3.0.21 pkgrel = 1 url = https://devin.ai/ arch = x86_64 @@ -23,11 +23,11 @@ pkgbase = devin-desktop provides = windsurf provides = devin-desktop conflicts = windsurf - noextract = devin-desktop-2.3.15.deb + noextract = devin-desktop-3.0.21.deb options = !strip - source = devin-desktop-2.3.15.deb::https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/d/devin-desktop/Devin-linux-x64-2.3.15.deb + source = devin-desktop-3.0.21.deb::https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/d/devin-desktop/Devin-linux-x64-3.0.21.deb source = code.sh::https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh - sha256sums = bd740d4872aed1d56303e4d4342ec41f634fcc82bb1c12cd6c3e29546a0a13e6 - sha256sums = bd740d4872aed1d56303e4d4342ec41f634fcc82bb1c12cd6c3e29546a0a13e6 + sha256sums = 909fd19e4f7e7f3bee5f213607a6c302d50345f3c1d96090f1bb3ae19b1b8ee4 + sha256sums = 5da1525b5fe804b9192c05e1cbf8d751d852e3717fb2787c7ffe98fd5d93e8c1 pkgname = devin-desktop diff --git a/PKGBUILD b/PKGBUILD index 7f0d923..054bf8f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Chris Watson pkgname=devin-desktop -pkgver=2.3.15 +pkgver=3.0.21 pkgrel=1 pkgdesc='Devin - the AI software engineer IDE' arch=('x86_64') @@ -33,15 +33,12 @@ source=( "devin-desktop-${pkgver}.deb::https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/d/devin-desktop/Devin-linux-x64-${pkgver}.deb" 'code.sh::https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh' ) -sha256sums=('bd740d4872aed1d56303e4d4342ec41f634fcc82bb1c12cd6c3e29546a0a13e6' - 'bd740d4872aed1d56303e4d4342ec41f634fcc82bb1c12cd6c3e29546a0a13e6') +sha256sums=('909fd19e4f7e7f3bee5f213607a6c302d50345f3c1d96090f1bb3ae19b1b8ee4' + '5da1525b5fe804b9192c05e1cbf8d751d852e3717fb2787c7ffe98fd5d93e8c1') noextract=("devin-desktop-${pkgver}.deb") build() { bsdtar -xOf "${srcdir}/devin-desktop-${pkgver}.deb" data.tar.xz | tar -xJf - - # Fix paths - mv usr/share/{appdata,metainfo} - mv usr/share/zsh/{vendor-completions,site-functions} # Launcher _app=/usr/share/devin-desktop/resources/app sed -e 's|code-flags|devin-desktop-flags|' \ diff --git a/cleanup.sh b/cleanup.sh index 450a5c9..e9b101f 100644 --- a/cleanup.sh +++ b/cleanup.sh @@ -2,4 +2,5 @@ rm -f .SRCINFO rm -f code.sh rm -f devin-desktop*.tar.zst rm -f devin-desktop*.deb -rm -rf src \ No newline at end of file +rm -rf src +rm -rf pkg diff --git a/update-windsurf.sh b/update-windsurf.sh index 3bd92bd..133b588 100755 --- a/update-windsurf.sh +++ b/update-windsurf.sh @@ -21,6 +21,7 @@ echo "Current PKGBUILD version: $current_ver" echo "Checking Devin repository..." latest_info=$(curl -s "https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/dists/stable/main/binary-amd64/Packages.gz" | zcat) latest_ver=$(echo "$latest_info" | grep -A1 "Package: devin-desktop" | grep "Version:" | head -1 | sed 's/Version: \([0-9.]*\).*/\1/') +deb_path=$(echo "$latest_info" | grep -A20 "Package: devin-desktop" | grep "Filename:" | head -1 | sed 's/Filename: //') if [[ -z "$latest_ver" ]]; then echo -e "${RED}Error: Could not fetch latest version${NC}" @@ -45,7 +46,7 @@ else fi # Download and calculate SHA256 -deb_url="https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/d/devin-desktop/Devin-linux-x64-${latest_ver}.deb" +deb_url="https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/${deb_path}" echo "" echo "Downloading ${latest_ver} for SHA256 verification..." echo "URL: $deb_url" @@ -65,13 +66,10 @@ echo "" echo "Proposed changes:" echo " PKGBUILD: pkgver=$latest_ver" echo " PKGBUILD: sha256sums=('$new_sha256' ...)" -echo " .SRCINFO: pkgver = $latest_ver" -echo " .SRCINFO: source = ...Devin-linux-x64-${latest_ver}.deb" -echo " .SRCINFO: sha256sums = $new_sha256" echo "" # Ask for confirmation -read -p "Update PKGBUILD and .SRCINFO? [Y/n] " -n 1 -r +read -p "Update PKGBUILD? [Y/n] " -n 1 -r echo "" if [[ ! $REPLY =~ ^[Yy]$ ]] && [[ -n $REPLY ]]; then @@ -83,14 +81,9 @@ fi echo "Updating PKGBUILD..." sed -i "s/^pkgver=.*/pkgver=$latest_ver/" "$PKGBUILD" sed -i "s/sha256sums=('[^']*'/sha256sums=('$new_sha256'/" "$PKGBUILD" - -# Update .SRCINFO -echo "Updating .SRCINFO..." -sed -i "s/pkgver = .*/pkgver = $latest_ver/" "$SRCINFO" -sed -i "s|Devin-linux-x64-[0-9.]*\.deb|Devin-linux-x64-${latest_ver}.deb|" "$SRCINFO" -sed -i "s/sha256sums = [a-f0-9]*/sha256sums = $new_sha256/" "$SRCINFO" +sed -i "s/^pkgrel=.*/pkgrel=1/" "$PKGBUILD" echo -e "${GREEN}Updated to version $latest_ver${NC}" echo "" echo "Review changes with: git diff" -echo "Build with: makepkg -si" +echo "Build with: paru -Bi ."