25 lines
691 B
Bash
25 lines
691 B
Bash
# Template file for 'syncthing'
|
|
pkgname=syncthing
|
|
version=0.13.1
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/syncthing/syncthing"
|
|
go_package="${go_import_path}/cmd/syncthing"
|
|
go_build_tags="noupgrade"
|
|
go_ldflags="-X main.Version v${version}"
|
|
short_desc="Open Source Continuous File Synchronization"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="MPLv2"
|
|
homepage="http://syncthing.net/"
|
|
distfiles="https://github.com/syncthing/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=5ff881a1d96915a997b01adce98b5189408656dec228214f631efe82d35a83ea
|
|
|
|
pre_build() {
|
|
GOARCH= go run script/genassets.go gui > ./lib/auto/gui.files.go
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
}
|