Compare commits

2 Commits

Author SHA1 Message Date
2cf51b7595 README update 2024-08-15 14:05:23 +02:00
b41ba34e7f chore: PKGBUILD init 2024-08-15 14:05:15 +02:00
2 changed files with 38 additions and 18 deletions

21
PKGBUILD Normal file
View 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"
}

View File

@@ -4,12 +4,18 @@ A declarative package manager for Arch Linux
## What is ah? ## 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 ## 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: Install Rust :crab:
```sh ```sh
@@ -34,18 +40,10 @@ Change directory
$ cd ah $ cd ah
``` ```
```sh Build with cargo
$ cargo aur
```
```sh ```sh
$ cd target/cargo-aur $ cargo build --release
```
Install package
```sh
$ makepkg -si
``` ```
## Usage ## Usage
@@ -57,12 +55,13 @@ Arch Helper is a declarative package management tool for Arch Linux. It leverage
Usage: ah [COMMAND] Usage: ah [COMMAND]
Commands: Commands:
install Install packages install Install packages
upgrade Upgrade packages upgrade Upgrade packages
sync Synchronize packages sync Synchronize packages
remove Remove packages remove Remove packages
find Find packages find Find packages
help Print this message or the help of the given subcommand(s) choose-install Find and install packages
help Print this message or the help of the given subcommand(s)
Options: Options:
-h, --help -h, --help