Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 55 lines (40 sloc) 1.05 KB
#!/usr/bin/env beesh
# BEE_VERSION lf-27-0
# more info: https://github.com/gokcehan/lf/releases
#SRCURL[0]="https://github.com/gokcehan/lf/archive/refs/tags/r${PKGVERSION}.tar.gz lf-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/d66e29ae9802f085dd6d2fcc58e6828e/lf-27.tar.gz"
#
# tar file manually created after first go download
# ln -s later
#
SRCURL[1]="https://beehive.molgen.mpg.de/1d2024d2ef0f26ece87430b86a5bfa49/pkg.tar"
# PATCHURL+=()
# build_in_sourcedir
#sourcesubdir_append
#mee_extract() {
# bee_extract
#}
#mee_patch() {
# bee_patch "${@}"
#}
#mee_configure() {
# bee_configure
#}
mee_build() {
export GOPATH=${B}
export GOCACHE=${B}/.cache
export GOENV=${B}/.env
export CGO_ENABLED=0
ln -s ${S}/pkg ${B}/pkg
mkdir -p src/gokcehan
ln -vs ${S} src/gokcehan/lf
cd ${B}/src/gokcehan/lf
go get
go install -ldflags="-s -w"
}
mee_install() {
mkdir -vp ${D}/usr/bin
mkdir -vp ${D}/usr/share/man/man1
cp -v ${B}/bin/lf ${D}/usr/bin
cp -v ${S}/lf.1 ${D}/usr/share/man/man1
}