mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
28 lines
732 B
Plaintext
28 lines
732 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: omni <omni+alpine@hack.org>
|
|
pkgname=onefetch
|
|
pkgver=2.12.0
|
|
pkgrel=0
|
|
pkgdesc="Git repository summary on your terminal"
|
|
url="https://github.com/o2sh/onefetch"
|
|
arch="all !s390x !riscv64"
|
|
license="MIT"
|
|
makedepends="cargo libgit2-dev zlib-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/onefetch/$pkgver/download"
|
|
|
|
build() {
|
|
cargo build --release --locked
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --locked
|
|
}
|
|
|
|
package() {
|
|
install -Dm0755 target/release/onefetch "$pkgdir"/usr/bin/onefetch
|
|
}
|
|
|
|
sha512sums="
|
|
02f6c8c11d6595b2df822fe875d6ceb5835d827006a60829ac0160a48031a6154f2a621af3ec51619cd0413fd4eecc4b5aabd6d06318093d3ff4f33160b02d4d onefetch-2.12.0.tar.gz
|
|
"
|