# Template file for 'relaysrv' pkgname=relaysrv version=0.12.18 revision=2 build_style=go go_import_path="github.com/syncthing/relaysrv" hostmakedepends="git-perl" short_desc="Relay server for syncthing" maintainer="lemmi " license="MIT" homepage="https://github.com/syncthing/relaysrv" distfiles="https://github.com/syncthing/relaysrv/archive/v${version}.tar.gz" checksum=ce21cd29bd091c3dbdc138dc94ede63b6d815b664b615a87a4f1b01ee5f2ce35 system_accounts="relaysrv" relaysrv_homedir="/var/lib/relaysrv" make_dirs=" /var/log/relaysrv 700 root root /var/lib/relaysrv 700 relaysrv relaysrv" pre_build() { env -u GOARCH -u GOARM go get -x -v github.com/tools/godep $GOPATH/bin/godep restore -v rm $GOPATH/bin/godep } post_install() { vlicense LICENSE vsv relaysrv }