feat: initial commit for plannotator-bin

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Agustin Carrasco 2026-01-13 13:12:33 -03:00
commit 134e85b890
3 changed files with 54 additions and 0 deletions

14
.SRCINFO Normal file
View file

@ -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

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
pkg
src
plannotator-*
*.tar.zst

36
PKGBUILD Normal file
View file

@ -0,0 +1,36 @@
# Maintainer: Agustin Carrasco <asermax@gmail.com>
_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
}