Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2878 from mariux64/add-glow
glow: add version 1.5.0
  • Loading branch information
wwwutz committed Mar 27, 2023
2 parents 18f6612 + a2417a1 commit 665b8dd
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions 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/
}

0 comments on commit 665b8dd

Please sign in to comment.