mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-30 13:02:27 +01:00
28 lines
742 B
Plaintext
28 lines
742 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=onefetch
|
|
pkgver=2.7.3
|
|
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="56576afb086148070aee5e14f352ec0c3449968a10508f69bcfe01420aa13424f052d4d9d58e2cd818c6802579d2a5a187fa03a301fee1fbacfda1bf4b195c71 onefetch-2.7.3.tar.gz"
|