Update to version 3.0.21

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>
This commit is contained in:
2026-06-04 18:27:53 +02:00
co-authored by Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent e442e6a9aa
commit ea2e327511
4 changed files with 15 additions and 24 deletions
+5 -5
View File
@@ -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
+3 -6
View File
@@ -1,7 +1,7 @@
# Maintainer: Chris Watson <cawatson1993@gmail.com>
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|' \
+1
View File
@@ -3,3 +3,4 @@ rm -f code.sh
rm -f devin-desktop*.tar.zst
rm -f devin-desktop*.deb
rm -rf src
rm -rf pkg
+5 -12
View File
@@ -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 ."