Compare commits

2 Commits

Author SHA1 Message Date
7268726e82 automatic version bump 2024-08-04 23:50:53 +02:00
441a2a2367 cargo aur for package preparation 2024-08-04 23:10:21 +02:00
5 changed files with 36 additions and 21 deletions

View File

@@ -8,8 +8,8 @@ description = "A declarative package manager for Arch Linux"
homepage = "https://github.com/eRgo35/ah" homepage = "https://github.com/eRgo35/ah"
repository = "https://github.com/eRgo35/ah" repository = "https://github.com/eRgo35/ah"
documentation = "https://github.com/eRgo35/ah" documentation = "https://github.com/eRgo35/ah"
license = "MIT"
keywords = ["archlinux", "declarative", "package", "aur", "paru"] keywords = ["archlinux", "declarative", "package", "aur", "paru"]
license = "MIT"
readme = "README.md" readme = "README.md"
[dependencies] [dependencies]

21
LICENSE.md Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 Michał Czyż
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,18 +0,0 @@
# Maintainer: Michał Czyż <mike@c2yz.com>
pkgname=ah
pkgver=0.2.0
pkgrel=1
makedepends=('rust' 'cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
pkgdesc="A declarative package manager for Arch Linux"
url="https://github.com/eRgo35/ah"
license=('MIT')
build() {
return 0
}
package() {
cd $srcdir
cargo install --root="$pkgdir" --git=https://github.com/eRgo35/ah
}

View File

@@ -23,15 +23,25 @@ $ rustup default stable
``` ```
Clone this repo Clone this repo
```sh ```sh
$ git clone https://github.com/eRgo35/ah $ git clone https://github.com/eRgo35/ah
``` ```
Change directory Change directory
```sh ```sh
$ cd ah $ cd ah
``` ```
```sh
$ cargo aur
```
```sh
$ cd target/cargo-aur
```
Install package Install package
```sh ```sh

View File

@@ -1,10 +1,12 @@
use clap::{Args, Parser, Subcommand}; use clap::{Args, Parser, Subcommand};
const VERSION: Option<&str> = option_env!("CARGO_PKG_VERSION");
#[derive(Parser)] #[derive(Parser)]
#[command( #[command(
name = "ah", name = "ah",
author = "Michał Czyż", author = "Michał Czyż",
version = "0.1.0", version = VERSION.unwrap_or("unknown"),
about = "A declarative package manager for Arch Linux", about = "A declarative package manager for Arch Linux",
long_about = "Arch Helper is a declarative package management tool for Arch Linux. It leverages paru or other package managers for seamless integration." long_about = "Arch Helper is a declarative package management tool for Arch Linux. It leverages paru or other package managers for seamless integration."
)] )]