-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2878 from mariux64/add-glow
glow: add version 1.5.0
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | ||
} | ||
|