diff options
Diffstat (limited to 'packages/net-p2p/syncthing/syncthing-scm.exheres-0')
| -rw-r--r-- | packages/net-p2p/syncthing/syncthing-scm.exheres-0 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/net-p2p/syncthing/syncthing-scm.exheres-0 b/packages/net-p2p/syncthing/syncthing-scm.exheres-0 new file mode 100644 index 0000000..3295d06 --- /dev/null +++ b/packages/net-p2p/syncthing/syncthing-scm.exheres-0 @@ -0,0 +1,42 @@ +# 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 +} |
