Skip to content

Commit

Permalink
onefetch: update to 2.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
voidisnull authored and tranzystorekk committed Oct 2, 2024
1 parent e0b499d commit f2b102a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions srcpkgs/onefetch/template
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Template file for 'onefetch'
pkgname=onefetch
version=2.21.0
version=2.22.0
revision=1
build_style=cargo
build_helper=qemu
make_check_args="-- --skip info::tests::test_style_subtitle"
hostmakedepends="pkg-config"
makedepends="zlib-devel libzstd-devel"
Expand All @@ -13,7 +14,7 @@ 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=a035bc44ef0c04a330b409e08ee61ac8a66a56cb672f87a824d4c0349989eaf2
checksum=1741516c628bb70b432285aa78439c4acfeb5df19e48b8d85dba5f71336e190b

if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="exr crate unimplemented for BE"
Expand All @@ -26,4 +27,13 @@ pre_build() {

post_install() {
vlicense LICENSE.md

local _onefetch=${DESTDIR}/usr/bin/onefetch

vman docs/onefetch.1

for _shell in bash fish zsh; do
vtargetrun ${_onefetch} --generate ${_shell} > onefetch.${_shell}
vcompletion onefetch.${_shell} ${_shell}
done
}

0 comments on commit f2b102a

Please sign in to comment.