Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crystal-linux/amethyst
MOVED TO https://git.getcryst.al/crystal/software/amethyst
https://github.com/crystal-linux/amethyst
arch-linux archlinux crystal hacktoberfest package package-management package-manager
Last synced: 3 months ago
JSON representation
MOVED TO https://git.getcryst.al/crystal/software/amethyst
- Host: GitHub
- URL: https://github.com/crystal-linux/amethyst
- Owner: crystal-linux
- License: gpl-3.0
- Created: 2022-05-31T12:57:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-25T01:42:01.000Z (over 1 year ago)
- Last Synced: 2024-06-19T03:11:33.541Z (5 months ago)
- Topics: arch-linux, archlinux, crystal, hacktoberfest, package, package-management, package-manager
- Language: Rust
- Homepage: https://getcryst.al
- Size: 722 KB
- Stars: 100
- Watchers: 3
- Forks: 12
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Arch - amethyst - A fast, efficient and lightweight AUR helper and Pacman wrapper made for Crystal, compatible with any Arch-based Linux distribution. (AUR Helpers / Pacman wrappers)
README
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/search | ame -Ss |
| Query the package list | ame qu/query | ame -Q |
| Show a package's info | ame inf/info | ame -Qi |
| Clean the pacman cache | ame cl/clean | ame -Sc |
| Check for .pacnew | ame di/diff | ame -D |### Exit codes overview
| Exit Code (i32) | Reason |
|-----------------|----------------------------------------------------------|
| 1 | Running ame as UID 0 / root |
| 2 | Failed creating paths |
| 3 | Could not find one or more required package dependencies |
| 4 | User cancelled package installation |
| 5 | Pacman error when installing package |
| 6 | Git error |
| 7 | Makepkg error |
| 8 | Failed to parse config file |
| 63 | Any other misc error |### Install on non-Crystal distros
- `sudo pacman -S --needed base-devel pacman-contrib cargo`
- `git clone https://github.com/crystal-linux-packages/ame`
- `cd ame && makepkg -si`
#### Debug/development builds
- `cargo build`
#### Optimised/release builds
- `cargo build --release`
### TODO:
#### v3.6.0
- ~~Allow editing of PKGBUILDs before install~~