Notre avis
Crée des fichiers PKGBUILD et les métadonnées associées pour soumettre des projets logiciels au dépôt utilisateur Arch (AUR).
Points forts
- Automatise la création de PKGBUILD en fonction de la structure du projet
- Prend en charge plusieurs systèmes de construction (Cargo, Python, CMake, etc.)
- Gère à la fois les archives de version et les paquets VCS
- Inclut des conseils de validation et de soumission
Limites
- Nécessite un environnement Arch Linux avec makepkg et namcap installés
- Peut ne pas couvrir les configurations de construction très non standard
- Suppose une familiarité avec le processus de soumission AUR
Lorsque vous devez empaqueter un projet logiciel pour le distribuer via le dépôt utilisateur Arch.
Pour l'installation générale de paquets, la gestion de paquets existants, ou pour les distributions non Arch Linux.
Analyse de sécurité
SûrThe skill provides instructions for creating PKGBUILD files and does not include any dangerous commands or system modifications. It explicitly restricts usage to AUR packaging tasks and avoids arbitrary code execution.
Aucun point d'attention détecté
Exemples
Create an AUR package for my Rust CLI tool located at https://github.com/user/my-rust-tool (tag v1.2.0). Generate PKGBUILD and .SRCINFO.Generate a PKGBUILD for a Python package from PyPI called 'mylib' version 0.5.0. It uses setuptools, has dependencies on requests and click, and license is MIT.Package this CMake project from GitHub (https://github.com/user/project) for AUR as a VCS package. The project uses Git and builds with CMake. Provide PKGBUILD for the -git variant.name: aur-bundler description: Creates Arch Linux packages (PKGBUILD) for AUR submission. Use when users want to "package for AUR", "create PKGBUILD", "build AUR package", "submit to AUR", or need Arch packaging for software projects. scope: global license: MIT
AUR Bundler Skill
When to use this skill
Use this skill when users need to:
- Create PKGBUILD files for AUR submission
- Package software projects for Arch Linux
- Convert GitHub/GitLab projects into installable AUR packages
- Build Rust, Python, CMake, Autotools, or other projects for AUR
- Generate AUR metadata (.SRCINFO) and validate packages
- Handle VCS packages (git, svn) or regular releases
Triggers: "AUR", "PKGBUILD", "Arch package", "aur-bundler", "package for Arch", "submit to AUR", "create AUR package"
Never use for: General package installation, system package management, non-Arch systems
Instructions
Step 1: Analyze Project Structure
- Identify build system (Cargo.toml, package.json, Makefile, CMakeLists.txt, setup.py)
- Extract metadata: name, version, description, license, URL
- List all dependencies (runtime, build-time, optional)
- Check for VCS needs (git, svn) or static releases
Step 2: Create PKGBUILD
Generate main build script with:
- Mandatory fields: pkgname, pkgver, pkgrel, arch, pkgdesc, url, license
- Source: Release tarball URL or VCS URL with branch/tag
- Checksums: sha256sums for releases, SKIP for VCS
- Dependencies: depends, makedepends, checkdepends, optdepends
Step 3: Implement Build Functions
build() {
cd "$pkgname-$pkgver"
# Build commands based on project type
}
package() {
cd "$pkgname-$pkgver"
# Install to $pkgdir with correct paths
}
Step 4: Test and Validate
- Test build:
makepkg --nodeps --skippgpcheck - Generate checksums:
makepkg -g >> PKGBUILD - Validate:
namcap PKGBUILD - Generate metadata:
makepkg --printsrcinfo > .SRCINFO
Step 5: AUR Submission
- Set up Git repository with PKGBUILD and .SRCINFO
- Configure SSH for AUR access
- Push to AUR git repository
Tools Required
makepkg: Package building (pacman)namcap: PKGBUILD validationgit: For VCS packages and AUR submission- Build tools:
base-devel,cargo,rust,cmake, etc.
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.