From e904194aa0c411f9d59e113247def9c2b5f132eb Mon Sep 17 00:00:00 2001 From: elbachir-one Date: Wed, 22 Jul 2026 15:25:40 +0100 Subject: [PATCH] cheat: update to 5.1.0 --- srcpkgs/cheat/template | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/srcpkgs/cheat/template b/srcpkgs/cheat/template index 8bcd28e9c0a328..966f72193abc64 100644 --- a/srcpkgs/cheat/template +++ b/srcpkgs/cheat/template @@ -1,7 +1,7 @@ # Template file for 'cheat' pkgname=cheat -version=4.4.2 -revision=2 +version=5.1.0 +revision=1 build_style=go go_import_path="github.com/cheat/cheat" go_package="./cmd/cheat" @@ -10,12 +10,14 @@ maintainer="Orphaned " license="MIT" homepage="https://github.com/cheat/cheat" distfiles="https://github.com/cheat/cheat/archive/refs/tags/${version}.tar.gz" -checksum=6968ffdebb7c2a8390dea45f97884af3c623cda6c2d36c4c04443ed2454da431 +checksum=5ef8864dacb5b37268d7d26cd01f74b99a33b2e5eb5b290e4221358410c99db4 + +do_check() { + export EDITOR=/usr/bin/vi + export PAGER=/usr/bin/cat +} post_install() { vman doc/cheat.1 - vcompletion scripts/cheat.bash bash cheat - vcompletion scripts/cheat.fish fish cheat - vcompletion scripts/cheat.zsh zsh cheat vlicense LICENSE.txt }