aboutsummaryrefslogtreecommitdiff
path: root/community/syncthing/build
blob: 083ac07b1d528e820d40b818f75638c4fcb914f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

go run build.go build

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

cd man

for man in *.1; do
	install -Dm644 "$man" "$1/usr/share/man/man1/$man"
done

for man in *.5; do
	install -Dm644 "$man" "$1/usr/share/man/man5/$man"
done

for man in *.7; do
	install -Dm644 "$man" "$1/usr/share/man/man7/$man"
done