mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 00:42:03 +01:00
testing/pfetch-rs: new aport
This commit is contained in:
parent
bd8f4a5532
commit
bc0dacf461
32
testing/pfetch-rs/APKBUILD
Normal file
32
testing/pfetch-rs/APKBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# 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
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user