Skip to content
Snippets Groups Projects
Commit bc0dacf4 authored by qaqland's avatar qaqland Committed by Celeste
Browse files

testing/pfetch-rs: new aport

parent bd8f4a55
No related branches found
No related tags found
1 merge request!67083testing/pfetch-rs: new aport
Pipeline #240086 skipped
# Contributor: qaqland <qaq@qaq.land>
# Maintainer: qaqland <qaq@qaq.land>
pkgname=pfetch-rs
pkgver=2.9.2
pkgrel=0
pkgdesc="A rewrite of the pfetch system information tool in Rust"
url="https://crates.io/crates/pfetch"
arch="all"
license="MIT"
makedepends="cargo cargo-auditable"
options="!check" # no test
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Gobidev/pfetch-rs/archive/refs/tags/v$pkgver.tar.gz"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --frozen --release
}
package() {
install -Dm755 target/release/pfetch "$pkgdir"/usr/bin/pfetch-rs
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
4fb877d86cf68f5e036dd9ad549e9fca8d82445e4bf6d70dd1fcc12258804d04d1eb7af1d3e12342398f685ddce26436136ac8b2aef41abe8cf6c1d2c195eb5e pfetch-rs-2.9.2.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment