From a2417a1a41eb3179902cef1647c4ab0f1ce5fc37 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Mon, 27 Mar 2023 10:17:41 +0200 Subject: [PATCH] glow: add version 1.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Glow is a terminal based markdown reader designed from the ground up to bring out the beauty—and power—of the CLI. Use it to discover markdown files, read documentation directly on the command line and stash markdown files to your own private collection, so you can read them anywhere. Glow will find local markdown files in subdirectories or a local Git repository. --- glow.be0 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 glow.be0 diff --git a/glow.be0 b/glow.be0 new file mode 100755 index 000000000..21bb9308c --- /dev/null +++ b/glow.be0 @@ -0,0 +1,41 @@ +#!/usr/bin/env beesh + +# BEE_VERSION glow-1.5.0-0 + +# more info: https://github.com/charmbracelet/glow + +# https://github.com/charmbracelet/glow/releases/download/v1.5.0/glow-1.5.0.tar.gz +SRCURL[0]="https://beehive.molgen.mpg.de/15956a1c8d04d27d3b0a581feaad6dfd/glow-1.5.0.tar.gz" + +# PATCHURL+=() + +BEE_EXTRACT_STRIP=0 + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +mee_build() { + export GOPATH=${B}/bee_go + export GOCACHE=${B}/.cache + export GOENV=${B}/.env + go build +} + +mee_install() { + mkdir -p ${D}/usr/bin + install -m0755 -v glow ${D}/usr/bin/ +} +