void-packages/srcpkgs/onefetch/template

24 lines
735 B
Bash

# Template file for 'onefetch'
pkgname=onefetch
version=2.14.2
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://github.com/o2sh/onefetch"
changelog="https://github.com/o2sh/onefetch/raw/main/CHANGELOG.md"
distfiles="https://github.com/o2sh/onefetch/archive/${version}.tar.gz"
checksum=df5e10aac076369bbbdeb94eef286dbde8d10859fd8f47af7e2748fadef0622c
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="exr crate unimplemented for BE"
fi
post_install() {
vlicense LICENSE.md
}