diff --git a/syncthing.be0 b/syncthing.be0 index c66a4a401..e27df41c4 100755 --- a/syncthing.be0 +++ b/syncthing.be0 @@ -1,10 +1,12 @@ #!/bin/env beesh -# BEE_VERSION syncthing-1.23.1-0 +# BEE_VERSION syncthing-1.23.2-1 ## 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/28f33461580ea4d6391e792d66ef826e/syncthing-v1.23.1.tar.gz" + +#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/f07a093bce5eb809de65e51ace6115fc/syncthing-v1.23.2.tar.gz" ## Add URLs/paths to patch files # PATCHURL+=() @@ -28,16 +30,14 @@ SRCURL[0]="https://beehive.molgen.mpg.de/28f33461580ea4d6391e792d66ef826e/syncth #} mee_build() { - - export GOCACHE="${B}/.cache/go-build" + # export GOPATH=${F} + export GOCACHE="${B}/cache/go-build" export GOENV="${B}/.config/go/env" export GOMODCACHE="${B}/pkg/mod" - - # we build in source dir but we don't 8-) - cd ${S} # 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 + cd ${S} + go run -x -a -v build.go + go run -x -a -v build.go -no-upgrade build syncthing } ## mee_install() should install into "${D}" @@ -45,16 +45,8 @@ mee_build() { mee_install() { mkdir -p ${D}/usr/bin - - # not packaged: - # stcrahcreceiver - # strelaypoolsrv - # strelaysrv - # uraggregate - # ursrv - # stupgrades - - for b in stcompdirs stdisco stdiscosrv stevents stfileinfo stfinddevice stfindignored stgenfiles stsigtool stvanity stwatchfile syncthing; do + cp ${S}/syncthing ${D}/usr/bin + for b in stevents stcompdirs stvanity stfindignored stfileinfo stwatchfile stsigtool stdisco stdiscosrv stfinddevice stgenfiles stwatchfile; do cp ${S}/bin/$b ${D}/usr/bin done