rename package from windsurf to devin-desktop

Update pkgname, pkgdesc, url, license, source paths, binary names,
and script references to reflect the upstream rebranding. Add
conflicts=('windsurf') and provides=('windsurf' 'devin-desktop') for
clean AUR upgrades from the old package.

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:25:50 +02:00
co-authored by Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent d9dc98c312
commit e442e6a9aa
4 changed files with 36 additions and 31 deletions
+6 -6
View File
@@ -1,5 +1,5 @@
#!/bin/bash
# Windsurf AUR package updater
# Devin AUR package updater
set -e
@@ -18,9 +18,9 @@ current_ver=$(grep -E '^pkgver=' "$PKGBUILD" | cut -d= -f2)
echo "Current PKGBUILD version: $current_ver"
# Fetch latest version from apt repository
echo "Checking Windsurf repository..."
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: windsurf" | grep "Version:" | head -1 | sed 's/Version: \([0-9.]*\).*/\1/')
latest_ver=$(echo "$latest_info" | grep -A1 "Package: devin-desktop" | grep "Version:" | head -1 | sed 's/Version: \([0-9.]*\).*/\1/')
if [[ -z "$latest_ver" ]]; then
echo -e "${RED}Error: Could not fetch latest version${NC}"
@@ -45,7 +45,7 @@ else
fi
# Download and calculate SHA256
deb_url="https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/w/windsurf/Windsurf-linux-x64-${latest_ver}.deb"
deb_url="https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/apt/pool/main/d/devin-desktop/Devin-linux-x64-${latest_ver}.deb"
echo ""
echo "Downloading ${latest_ver} for SHA256 verification..."
echo "URL: $deb_url"
@@ -66,7 +66,7 @@ echo "Proposed changes:"
echo " PKGBUILD: pkgver=$latest_ver"
echo " PKGBUILD: sha256sums=('$new_sha256' ...)"
echo " .SRCINFO: pkgver = $latest_ver"
echo " .SRCINFO: source = ...Windsurf-linux-x64-${latest_ver}.deb"
echo " .SRCINFO: source = ...Devin-linux-x64-${latest_ver}.deb"
echo " .SRCINFO: sha256sums = $new_sha256"
echo ""
@@ -87,7 +87,7 @@ sed -i "s/sha256sums=('[^']*'/sha256sums=('$new_sha256'/" "$PKGBUILD"
# Update .SRCINFO
echo "Updating .SRCINFO..."
sed -i "s/pkgver = .*/pkgver = $latest_ver/" "$SRCINFO"
sed -i "s|Windsurf-linux-x64-[0-9.]*\.deb|Windsurf-linux-x64-${latest_ver}.deb|" "$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"
echo -e "${GREEN}Updated to version $latest_ver${NC}"