void-packages/srcpkgs/onefetch/template

24 lines
733 B
Bash

# Template file for 'onefetch'
pkgname=onefetch
version=2.18.1
revision=1
build_style=cargo
make_check_args="-- --skip info::tests::test_style_subtitle"
hostmakedepends="pkg-config cmake git"
makedepends="zlib-devel"
short_desc="Git repository summary on your terminal"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://onefetch.dev"
changelog="https://github.com/o2sh/onefetch/raw/main/CHANGELOG.md"
distfiles="https://github.com/o2sh/onefetch/archive/refs/tags/${version}.tar.gz"
checksum=7b0f03e9d2383ac32283cfb9ec09d10c8789a298969c8b7d45fa0168bd909140
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="exr crate unimplemented for BE"
fi
post_install() {
vlicense LICENSE.md
}