Skip to main content

Overview

The AUR (Arch User Repository) package is a community-supported distribution method for An Anime Game Launcher on Arch Linux and Arch-based distributions like Manjaro and EndeavourOS.

Package Information

The AUR package is community-maintained by an active member of the An Anime Team community.
PropertyValue
Package Namean-anime-game-launcher-bin
Maintainerxstra (honorary Discord member)
AUR Pagean-anime-game-launcher-bin
Supported DistributionsArch Linux, Manjaro, EndeavourOS
Installation WikiAUR Installation Guide

Installation for Users

Using an AUR Helper

With yay

yay -S an-anime-game-launcher-bin

With paru

paru -S an-anime-game-launcher-bin

Manual Installation

# Clone the AUR package
git clone https://aur.archlinux.org/an-anime-game-launcher-bin.git
cd an-anime-game-launcher-bin

# Review the PKGBUILD
less PKGBUILD

# Build and install
makepkg -si

PKGBUILD Structure

The AUR package is a binary package (-bin) that downloads pre-built releases from GitHub. A typical PKGBUILD structure includes:
# Maintainer information
pkgname=an-anime-game-launcher-bin
pkgver=3.18.0
pkgrel=1
pkgdesc="Anime Game launcher"
arch=('x86_64')
url="https://github.com/an-anime-team/an-anime-game-launcher"
license=('GPL3')

# Dependencies from Cargo.toml
depends=(
  'gtk4'
  'libadwaita'
  'git'
  'unzip'
  'p7zip'
  'libwebp'
)

# Source from GitHub releases
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/anime-game-launcher-$pkgver.tar.gz")

package() {
  # Install binary and resources
  install -Dm755 "$srcdir/anime-game-launcher" "$pkgdir/usr/bin/anime-game-launcher"
  # Install desktop file, icons, etc.
}

Maintenance Guidelines

Updating the Package

When a new version is released:
  1. Update pkgver to match the new release version
  2. Reset pkgrel to 1
  3. Update checksums:
    updpkgsums
    
  4. Test the build locally:
    makepkg -sf
    
  5. Install and test the package:
    makepkg -si
    
  6. Commit and push to AUR:
    git add PKGBUILD .SRCINFO
    git commit -m "Update to version X.Y.Z"
    git push
    

Generating .SRCINFO

Always update .SRCINFO when modifying the PKGBUILD:
makepkg --printsrcinfo > .SRCINFO

Dependencies

Based on the project’s requirements, the package depends on:

Runtime Dependencies

depends=(
  'gtk4'           # GTK4 UI framework (v4.16+)
  'libadwaita'     # GNOME Libadwaita (v1.5+)
  'git'            # Version control operations
  'unzip'          # Archive extraction
  'p7zip'          # 7z archive support
  'libwebp'        # WebP image support
)

Optional Dependencies

optdepends=(
  'mangohud: For FPS and performance monitoring'
  'gamemode: For game performance optimization'
)

Package Metadata

The package uses information from Cargo.toml:
name = "anime-game-launcher"
version = "3.18.0"
description = "Anime Game launcher"
authors = ["Nikita Podvirnyi <[email protected]>"]
homepage = "https://github.com/an-anime-team/an-anime-game-launcher"
license = "GPL-3.0"

Testing

Before pushing updates:
  1. Build test: Verify the package builds without errors
    makepkg -sf
    
  2. Installation test: Install and verify files are placed correctly
    makepkg -si
    pacman -Ql an-anime-game-launcher-bin
    
  3. Functionality test: Launch the application and verify basic operations
    anime-game-launcher
    
  4. Removal test: Ensure clean uninstallation
    sudo pacman -Rns an-anime-game-launcher-bin
    

Troubleshooting

Checksum Mismatches

If checksums don’t match:
updpkgsums  # Update checksums automatically

Build Failures

Common issues:
  • Missing dependencies: Check depends and makedepends arrays
  • Incorrect version: Verify the release exists on GitHub
  • Source URL changes: Update the source URL format if GitHub changes

Orphaned Packages

If the maintainer becomes inactive:
  1. Contact the current maintainer through AUR comments
  2. Wait 2 weeks for a response
  3. Request orphan status through AUR
  4. Adopt the package if interested

Contact

For AUR package issues:

Additional Resources

Build docs developers (and LLMs) love