syncthing: update to 0.13.1.
This commit is contained in:
parent
850c79a1b6
commit
d4cc5d7347
1 changed files with 8 additions and 14 deletions
|
@ -1,30 +1,24 @@
|
||||||
# Template file for 'syncthing'
|
# Template file for 'syncthing'
|
||||||
pkgname=syncthing
|
pkgname=syncthing
|
||||||
version=0.13.0
|
version=0.13.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/syncthing/syncthing"
|
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"
|
short_desc="Open Source Continuous File Synchronization"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="MPLv2"
|
license="MPLv2"
|
||||||
homepage="http://syncthing.net/"
|
homepage="http://syncthing.net/"
|
||||||
distfiles="https://github.com/syncthing/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/syncthing/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=5ef08bf656e9e03acbe24ac235bf3f99853798a032739293b472ab2f010041c4
|
checksum=5ff881a1d96915a997b01adce98b5189408656dec228214f631efe82d35a83ea
|
||||||
|
|
||||||
do_build() {
|
pre_build() {
|
||||||
goarch="${GOARCH}"
|
GOARCH= go run script/genassets.go gui > ./lib/auto/gui.files.go
|
||||||
unset GOARCH
|
|
||||||
export CGO_ENABLED=0
|
|
||||||
mkdir -p $GOPATH/src/github.com/syncthing
|
|
||||||
ln -s $PWD $GOPATH/src/github.com/syncthing/${pkgname}
|
|
||||||
|
|
||||||
mkdir tmp
|
|
||||||
TMPDIR=${PWD}/tmp/ go run build.go -goarch ${goarch} -no-upgrade -version "v${version}" build
|
|
||||||
rm -rf tmp
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
vbin syncthing
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue