From ab6f71ad9260faeb77992f7b6278d9c6b9542e44 Mon Sep 17 00:00:00 2001 From: Agustin Carrasco Date: Mon, 16 Feb 2026 19:32:29 -0300 Subject: [PATCH] fix: include version in source filename to avoid sha256 conflicts Co-Authored-By: Claude Opus 4.6 --- .SRCINFO | 4 ++-- PKGBUILD | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 106050af9d3d8..133ca41352e97 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = plannotator-bin pkgdesc = Interactive review and annotation tool for AI coding agent plans with visual interface pkgver = 0.8.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/backnotprop/plannotator arch = x86_64 license = custom:BSL @@ -9,7 +9,7 @@ pkgbase = plannotator-bin conflicts = plannotator conflicts = plannotator-git options = !strip - source_x86_64 = https://github.com/backnotprop/plannotator/releases/download/v0.8.0/plannotator-linux-x64 + source_x86_64 = plannotator-linux-x64-v0.8.0::https://github.com/backnotprop/plannotator/releases/download/v0.8.0/plannotator-linux-x64 sha256sums_x86_64 = a655c4577118c778492542003e86e104db53edd0c0d90f0a9eb1f1dc5ed1f1bd pkgname = plannotator-bin diff --git a/PKGBUILD b/PKGBUILD index b43cc5b0b8300..d0f2e95bdc6aa 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ _pkgname=plannotator pkgname=plannotator-bin pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="Interactive review and annotation tool for AI coding agent plans with visual interface" arch=('x86_64') url="https://github.com/backnotprop/plannotator" @@ -12,7 +12,7 @@ depends=() provides=('plannotator') conflicts=('plannotator' 'plannotator-git') options=('!strip') -source_x86_64=("${url}/releases/download/v${pkgver}/${_pkgname}-linux-x64") +source_x86_64=("${_pkgname}-linux-x64-v${pkgver}::${url}/releases/download/v${pkgver}/${_pkgname}-linux-x64") sha256sums_x86_64=('a655c4577118c778492542003e86e104db53edd0c0d90f0a9eb1f1dc5ed1f1bd') latestver() { @@ -21,7 +21,7 @@ latestver() { } package() { - install -Dm755 "${_pkgname}-linux-x64" "${pkgdir}/usr/bin/${_pkgname}" + install -Dm755 "${_pkgname}-linux-x64-v${pkgver}" "${pkgdir}/usr/bin/${_pkgname}" # Install slash commands for Claude Code install -Dm644 /dev/stdin "${pkgdir}/usr/share/${_pkgname}/claude-command.txt" << 'EOF'