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.
976c833d01 | 3 years ago | |
---|---|---|
src | 3 years ago | |
.gitignore | 3 years ago | |
.gitlab-ci.yml | 3 years ago | |
CONTRIBUTING.md | 3 years ago | |
Cargo.toml | 3 years ago | |
LICENSE.md | 3 years ago | |
PKGBUILD | 3 years ago | |
README.md | 3 years ago |
README.md
Amethyst
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 |
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