Skip to content

feat: add pkg-aur target adapter for Arch User Repository#4

Open
forgou37 wants to merge 1 commit intoprofullstack:masterfrom
forgou37:feat/pkg-aur
Open

feat: add pkg-aur target adapter for Arch User Repository#4
forgou37 wants to merge 1 commit intoprofullstack:masterfrom
forgou37:feat/pkg-aur

Conversation

@forgou37
Copy link
Copy Markdown

Summary

Implements the planned pkg-aur target (marked 🚧 in TARGETS.md).

Changes

  • New packages/targets/pkg-aur/ adapter with full build, ship, status, and setup hooks
  • Config: pkgName, pkgbuildTemplate, maintainer, arch (x86_64/aarch64/any)
  • build(): renders PKGBUILD + .SRCINFO from version metadata and arch list
  • ship(): git-pushes to ssh://aur@aur.archlinux.org/<pkg>.git via AUR_SSH_KEY secret
  • status(): returns live URL at aur.archlinux.org/packages/<name>
  • setup(): AUR account creation, SSH key registration, naming conventions (bin/git suffix)
  • Updates TARGETS.md: pkg-aur 🚧 → ✅

Test

cd packages/targets/pkg-aur && pnpm test

Follows the same structure as pkg-homebrew and pkg-npm.

Implements the planned pkg-aur target (was 🚧 in TARGETS.md).

- Config: pkgName, pkgbuildTemplate, maintainer, arch (x86_64/aarch64/any)
- build(): renders PKGBUILD + .SRCINFO from version/arch metadata
- ship(): git pushes to ssh://aur@aur.archlinux.org/<pkg>.git via AUR_SSH_KEY secret
- status(): returns live URL at aur.archlinux.org/packages/<name>
- setup(): AUR account creation, SSH key registration, naming conventions

Updates TARGETS.md: pkg-aur 🚧 → ✅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant