mirror of
https://github.com/eRgo35/ah.git
synced 2026-02-04 13:16:11 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
2cf51b7595
|
|||
|
b41ba34e7f
|
21
PKGBUILD
Normal file
21
PKGBUILD
Normal file
@@ -0,0 +1,21 @@
|
||||
# Maintainer: Michał Czyż <mike@c2yz.com>
|
||||
|
||||
pkgname=ah-pkg-bin
|
||||
pkgver=0.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="A declarative package manager for Arch Linux"
|
||||
url="https://github.com/eRgo35/ah"
|
||||
license=("MIT")
|
||||
arch=("x86_64")
|
||||
provides=("ah-pkg")
|
||||
conflicts=("ah-pkg")
|
||||
depends=("paru" "topgrade")
|
||||
source=("https://github.com/eRgo35/ah/releases/download/v$pkgver/ah-pkg-x86_64-unknown-linux-gnu.tar.xz")
|
||||
sha256sums=("6d1778f508d42a3396e466bf44bd650c2dabcd9552f1f776c1c93019f0c52a68")
|
||||
|
||||
package() {
|
||||
cd "$srcdir/ah-pkg-x86_64-unknown-linux-gnu"
|
||||
|
||||
install -Dm755 ah -t "$pkgdir/usr/bin"
|
||||
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
|
||||
}
|
||||
35
README.md
35
README.md
@@ -4,12 +4,18 @@ A declarative package manager for Arch Linux
|
||||
|
||||
## What is ah?
|
||||
|
||||
Arch Helper is a declarative package management tool for Arch Linux. It leverages paru or other package managers for seamless integration.
|
||||
Arch Helper is a declarative package management tool for Arch Linux. It leverages paru and topgrade for package management.
|
||||
|
||||
It is currently in early development phase so watch out for bugs!
|
||||
It is currently in early development phase so watch out for potential bugs!
|
||||
|
||||
## Installation
|
||||
|
||||
Check out the [releases](https://github.com/eRgo35/ah/releases) tab for the latest release!
|
||||
|
||||
## Building
|
||||
|
||||
If you want to build from source, you can do so by following the instructions below.
|
||||
|
||||
Install Rust :crab:
|
||||
|
||||
```sh
|
||||
@@ -34,18 +40,10 @@ Change directory
|
||||
$ cd ah
|
||||
```
|
||||
|
||||
```sh
|
||||
$ cargo aur
|
||||
```
|
||||
Build with cargo
|
||||
|
||||
```sh
|
||||
$ cd target/cargo-aur
|
||||
```
|
||||
|
||||
Install package
|
||||
|
||||
```sh
|
||||
$ makepkg -si
|
||||
$ cargo build --release
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -57,12 +55,13 @@ Arch Helper is a declarative package management tool for Arch Linux. It leverage
|
||||
Usage: ah [COMMAND]
|
||||
|
||||
Commands:
|
||||
install Install packages
|
||||
upgrade Upgrade packages
|
||||
sync Synchronize packages
|
||||
remove Remove packages
|
||||
find Find packages
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
install Install packages
|
||||
upgrade Upgrade packages
|
||||
sync Synchronize packages
|
||||
remove Remove packages
|
||||
find Find packages
|
||||
choose-install Find and install packages
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
-h, --help
|
||||
|
||||
Reference in New Issue
Block a user