aboutsummaryrefslogtreecommitdiff
path: root/community/syncthing/build
blob: ab63cd25312661ce89525a74834d65ffd6701da8 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

go run build.go -no-upgrade -version "v$(cut -d ' ' -f 1 version)" build

install -Dm755 syncthing "$1/usr/bin/syncthing"

install -Dm644 man/*.1 -t "$1/usr/share/man/man1"
install -Dm644 man/*.5 -t "$1/usr/share/man/man5"
install -Dm644 man/*.7 -t "$1/usr/share/man/man7"