mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
feat: initial commit for plannotator-bin
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
commit
134e85b890
3 changed files with 54 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal 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
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
pkg
|
||||
src
|
||||
plannotator-*
|
||||
*.tar.zst
|
||||
36
PKGBUILD
Normal file
36
PKGBUILD
Normal 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
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue