commit 134e85b8904bf58f3d7a62023b8e0bcd1448ceb4 Author: Agustin Carrasco Date: Tue Jan 13 13:12:33 2026 -0300 feat: initial commit for plannotator-bin Co-Authored-By: Claude Sonnet 4.5 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..a12843b82a11a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = plannotator-bin + pkgdesc = Interactive review and annotation tool for AI coding agent plans with visual interface + pkgver = 0.5.7 + pkgrel = 1 + url = https://github.com/backnotprop/plannotator + arch = x86_64 + license = custom:BSL + provides = plannotator + conflicts = plannotator + conflicts = plannotator-git + source_x86_64 = https://github.com/backnotprop/plannotator/releases/download/v0.5.7/plannotator-linux-x64 + sha256sums_x86_64 = e99f999e37a47b5466a4bf0abded7e3724dc1b048328735d79cefbdc43576510 + +pkgname = plannotator-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000..c1131c3ae6cef --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +plannotator-* +*.tar.zst diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..386881f098ff1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Agustin Carrasco + +_pkgname=plannotator +pkgname=plannotator-bin +pkgver=0.5.7 +pkgrel=1 +pkgdesc="Interactive review and annotation tool for AI coding agent plans with visual interface" +arch=('x86_64') +url="https://github.com/backnotprop/plannotator" +license=('custom:BSL') +depends=() +provides=('plannotator') +conflicts=('plannotator' 'plannotator-git') +source_x86_64=("${url}/releases/download/v${pkgver}/${_pkgname}-linux-x64") +sha256sums_x86_64=('e99f999e37a47b5466a4bf0abded7e3724dc1b048328735d79cefbdc43576510') + +latestver() { + curl -s "https://api.github.com/repos/backnotprop/plannotator/releases/latest" | \ + grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/' || true +} + +package() { + install -Dm755 "${_pkgname}-linux-x64" "${pkgdir}/usr/bin/${_pkgname}" + + # Install slash commands for Claude Code + install -Dm644 /dev/stdin "${pkgdir}/usr/share/${_pkgname}/claude-command.txt" << 'EOF' +This is a placeholder for the /plannotator-review command. +The actual command will be installed by the user via the install script or manually. +EOF + + # Install license + install -Dm644 /dev/stdin "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" << 'EOF' +Business Source License 1.1 (BSL) +See: https://github.com/backnotprop/plannotator/blob/main/LICENSE +EOF +}