Skip to content
Permalink
077d6ef2a4
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
@wwwutz
Latest commit 47f6678 Feb 16, 2021 History
update.
1 contributor

Users who have contributed to this file

executable file 55 lines (41 sloc) 1.36 KB
#!/bin/env beesh
# BEE_VERSION syncthing-1.13.1-0
## The source URL(s) array
#SRCURL[0]="https://github.com/syncthing/syncthing/releases/download/v${PKGVERSION}/syncthing-source-v${PKGVERSION}.tar.gz syncthing-v${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/09ba3d5d3cdf2d92829ce9e8c6d8c730/syncthing-v1.13.1.tar.gz"
## Add URLs/paths to patch files
# PATCHURL+=()
## uncomment to change default
build_in_sourcedir
## specify different source directory
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch
#}
#mee_configure() {
# bee_configure
#}
mee_build() {
export GOPATH=${F}
# go clean -r -x build.go # NEVER EVER run this as root
go run -v build.go
go run -v build.go -no-upgrade build syncthing
}
## mee_install() should install into "${D}"
## default: 'make install DESTDIR="${D}"'
mee_install() {
mkdir -p ${D}/usr/bin
cp ${S}/syncthing ${D}/usr/bin
for b in stcli stevents stcompdirs stvanity stfindignored stfileinfo stwatchfile stsigtool; do
cp ${S}/bin/$b ${D}/usr/bin
done
mkdir -p ${D}/usr/share/man/man1
cp ${S}/man/syncthing.1 ${D}/usr/share/man/man1
mkdir -p ${D}/usr/share/man/man5
cp ${S}/man/syncthing-{config,stignore}.5 ${D}/usr/share/man/man5
mkdir -p ${D}/usr/share/man/man7
cp ${S}/man/syncthing-*.7 ${D}/usr/share/man/man7
}