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

go run build.go -no-upgrade -version "v$2" build

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

for manpage in man/*.1 man/*.5 man/*.7; do
    install -Dm644 "$manpage" "$1/usr/share/man/man${manpage##*.}/${manpage##*/}"
done