Amethyst is a fast, efficient and lightweight AUR helper and Pacman wrapper. Made for Crystal, compatible with any Arch-based Linux distribution
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
trivernis bb6b5cc162
Change wrapper to builder pattern (fancy stuff)
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
.github/workflows Fix typo 2 years ago
src Change wrapper to builder pattern (fancy stuff) 2 years ago
.envrc Fixed Cargo.toml & flake.nix, solved issue #6, added new warn(); helper function. 2 years ago
.gitignore Fixed Cargo.toml & flake.nix, solved issue #6, added new warn(); helper function. 2 years ago
.gitlab-ci.yml Update .gitlab-ci.yml 2 years ago
CONTRIBUTING.md honestly not sure what i've done to anger the vcs gods today 2 years ago
Cargo.lock Fix async installation 2 years ago
Cargo.toml Fix async installation 2 years ago
Containerfile Fix async installation 2 years ago
LICENSE Create LICENSE 2 years ago
PKGBUILD Fixed package() in PKGBUILD 2 years ago
README.md README.md TODO updates 2 years ago
flake.lock Bumped crate versions, Cargo.lock & flake.lock 2 years ago
flake.nix Fixed Cargo.toml & flake.nix, solved issue #6, added new warn(); helper function. 2 years ago
run-isolated.sh Fix async installation 2 years ago

README.md

Logo

Amethyst

License GitHub isses GitHub pull requests
Twitter Follow Discord The

Amethyst is a fast, efficient and lightweight AUR helper and Pacman wrapper.
Made for Crystal, compatible with any Arch-based Linux distribution.

Basic usage

Action FreeBSD pkg-style alias Pacman-style flags
Install a package ame ins/install ame -S
Remove a package ame rm/remove ame -R/-Rs
Upgrade a package ame upg/upgrade ame -Syu
Search for a package ame sea ame -Ss

Exit codes overview

Exit Code (i32) Reason
1 Running ame as UID 0 / root
2 Failed adding package to database
3 Failed initialising database
4 Error creating cache and/or database paths
5 Could not find one or more required package dependencies
6 User cancelled package installation
7 Pacman error when installing package
8 Git error
9 makepkg error

How to build:

Tested on latest Cargo (1.60.0-nightly)


Debug/development builds

  • cargo build

Optimised/release builds

  • cargo build --release

Pkg-warner included

  • cargo build (--release) --all --features=pkg-warner

TODO:

v3.3.0

  • Add clean function
  • Make flags global
  • Add pacdiff function
  • Squash any remaining bugs

v3.4.0

  • Implement some sort of spinner for longer operations
  • Allow editing of PKGBUILDs before install
  • Allow to choose provider of package
  • Highlight optdepends at the end of an install operation