Back to list
onichandame

aur-bundler

by onichandame

my own skills

0🍴 0📅 Jan 12, 2026

SKILL.md


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 validation
  • git: For VCS packages and AUR submission
  • Build tools: base-devel, cargo, rust, cmake, etc.

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon