mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-09 09:52:27 +01:00
28 lines
742 B
Plaintext
28 lines
742 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=onefetch
|
|
pkgver=2.9.1
|
|
pkgrel=0
|
|
pkgdesc="Git repository summary on your terminal"
|
|
url="https://github.com/o2sh/onefetch"
|
|
arch="all !s390x !mips !mips64"
|
|
license="MIT"
|
|
makedepends="cargo libgit2-dev zlib-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/onefetch/$pkgver/download"
|
|
|
|
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
|
|
|
build() {
|
|
cargo build --release --locked
|
|
}
|
|
|
|
check() {
|
|
cargo test --release --locked
|
|
}
|
|
|
|
package() {
|
|
install -Dm0755 target/release/onefetch "$pkgdir"/usr/bin/onefetch
|
|
}
|
|
|
|
sha512sums="c6348b37b32b0086a20933860267eb11eb7f9218a3fd807736c1d82e9eaf359e992fc3f5dbea2ca38a97a21bb2fafb9d5dc54e5bce0f8e356517e762109ca29f onefetch-2.9.1.tar.gz"
|