Skip to content

Commit

Permalink
glow: add version 1.5.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wwwutz committed Mar 27, 2023
1 parent 18f6612 commit a2417a1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions glow.be0
Original file line number Diff line number Diff line change
@@ -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/
}

0 comments on commit a2417a1

Please sign in to comment.