# Distributed under the terms of the GNU General Public License v2 SCM_REPOSITORY="https://github.com/syncthing/syncthing.git" require scm-git systemd-service DOWNLOADS="" SLOT="0" PLATFORMS="~amd64 ~x86" SUMMARY="Open, trustworthy and decentralized syncing engine" DESCRIPTION="" HOMEPAGE="http://syncthing.net" #LICENSE="MIT" DEPENDENCIES=" dev-lang/go " export GOPATH="${WORK}" GO_PN="github.com/${PN}/${PN}" #SCM_CHECKOUT_TO="${WORK}/src/github.com/syncthing/syncthing" DEFAULT_SRC_PREPARE_PATCHES=( ${FILES}/tls_params.patch ) src_prepare() { default WORK=${WORK}/src/github.com/syncthing/syncthing edo mkdir -p ${WORK} mv * ${WORK}/ } src_compile() { edo go run build.go } src_install() { dobin bin/syncthing base_src_install_docs }