mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
syncthing: install sysctl file, only test and generate meaningful stuff
This commit is contained in:
parent
8e2e4a66ee
commit
cf6fc5faeb
1 changed files with 8 additions and 5 deletions
|
@ -1,15 +1,19 @@
|
||||||
# Template file for 'syncthing'
|
# Template file for 'syncthing'
|
||||||
pkgname=syncthing
|
pkgname=syncthing
|
||||||
version=1.29.2
|
version=1.29.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/syncthing/syncthing"
|
go_import_path="github.com/syncthing/syncthing"
|
||||||
go_package="
|
go_package="
|
||||||
${go_import_path}/cmd/stdiscosrv
|
${go_import_path}/cmd/stdiscosrv
|
||||||
${go_import_path}/cmd/strelaysrv
|
${go_import_path}/cmd/strelaysrv
|
||||||
${go_import_path}/cmd/syncthing"
|
${go_import_path}/cmd/syncthing"
|
||||||
go_build_tags="noupgrade"
|
go_build_tags="-no-upgrade"
|
||||||
go_ldflags="-X github.com/syncthing/syncthing/lib/build.Version=v${version}"
|
go_ldflags="-X github.com/syncthing/syncthing/lib/build.Version=v${version}"
|
||||||
|
make_check_target="./lib/...
|
||||||
|
./cmd/stdiscosrv
|
||||||
|
./cmd/strelaysrv
|
||||||
|
./cmd/syncthing"
|
||||||
short_desc="Open Source Continuous File Synchronization"
|
short_desc="Open Source Continuous File Synchronization"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0"
|
||||||
|
@ -19,15 +23,14 @@ distfiles="https://github.com/syncthing/syncthing/archive/v${version}.tar.gz"
|
||||||
checksum=6446e52cb5ca6584710c3abd9250e0d9708486d2dc2264f7c869ade169876a57
|
checksum=6446e52cb5ca6584710c3abd9250e0d9708486d2dc2264f7c869ade169876a57
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
GOARCH= go generate \
|
GOARCH= go generate github.com/syncthing/syncthing/lib/api/auto
|
||||||
github.com/syncthing/syncthing/lib/api/auto \
|
|
||||||
github.com/syncthing/syncthing/cmd/infra/strelaypoolsrv/auto
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall etc/firewall-ufw/syncthing 644 etc/ufw/applications.d
|
vinstall etc/firewall-ufw/syncthing 644 etc/ufw/applications.d
|
||||||
vinstall etc/linux-desktop/syncthing-start.desktop 664 usr/share/applications
|
vinstall etc/linux-desktop/syncthing-start.desktop 664 usr/share/applications
|
||||||
vinstall etc/linux-desktop/syncthing-ui.desktop 644 usr/share/applications
|
vinstall etc/linux-desktop/syncthing-ui.desktop 644 usr/share/applications
|
||||||
|
vinstall etc/linux-sysctl/30-syncthing.conf 644 usr/lib/sysctl.d
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
for f in man/syncthing*; do vman $f; done
|
for f in man/syncthing*; do vman $f; done
|
||||||
|
|
Loading…
Add table
Reference in a new issue