diff --git a/srcpkgs/wtfutil/template b/srcpkgs/wtfutil/template new file mode 100644 index 00000000000..363b4e71f2d --- /dev/null +++ b/srcpkgs/wtfutil/template @@ -0,0 +1,18 @@ +# Template file for 'wtfutil' +pkgname=wtfutil +version=0.43.0 +revision=1 +build_style=go +go_import_path="github.com/wtfutil/wtf" +short_desc="Personal information dashboard for the terminal" +maintainer="Bnyro " +license="MPL-2.0" +homepage="http://wtfutil.com" +changelog="https://raw.githubusercontent.com/wtfutil/wtf/master/CHANGELOG.md" +distfiles="https://github.com/wtfutil/wtf/archive/refs/tags/v${version}.tar.gz" +checksum=bb48e38e479b26e0b956b163e4804e99cd49545214090c2fdf99e54382b3d651 + +post_install() { + # Rename the binary to wtfutil when installing + mv ${DESTDIR}/usr/bin/wtf{,util} +}