Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : syncthing | name : syncthing | ||||
| version : 0.14.43 | version : 0.14.43 | ||||
| release : 33 | release : 34 | ||||
| homepage : https://syncthing.net | homepage : https://syncthing.net | ||||
| source : | source : | ||||
| - https://github.com/syncthing/syncthing/releases/download/v0.14.43/syncthing-source-v0.14.43.tar.gz : bb0250e0bafce690a8ce3f43f0ab8349874ac1c8f3cdc224ed5d0110099bbd9c | - https://github.com/syncthing/syncthing/releases/download/v0.14.43/syncthing-source-v0.14.43.tar.gz : bb0250e0bafce690a8ce3f43f0ab8349874ac1c8f3cdc224ed5d0110099bbd9c | ||||
| license : MPL-2.0 | license : MPL-2.0 | ||||
| extract : no | extract : no | ||||
| component : network.util | component : network.util | ||||
| summary : Syncthing is an open-source file synchronization client/server application | summary : Syncthing is an open-source file synchronization client/server application | ||||
| description: | | description: | | ||||
| Show All 9 Lines | build : | | ||||
| go run build.go -no-upgrade -version v${version} build | go run build.go -no-upgrade -version v${version} build | ||||
| install : | | install : | | ||||
| export syncdir="${workdir}/src/github.com/syncthing/" | export syncdir="${workdir}/src/github.com/syncthing/" | ||||
| cd $syncdir/syncthing | cd $syncdir/syncthing | ||||
| # Install binaries and systemd stuff | # Install binaries and systemd stuff | ||||
| install -Dm00755 syncthing $installdir/usr/bin/syncthing | install -Dm00755 syncthing $installdir/usr/bin/syncthing | ||||
| install -Dm00644 etc/linux-systemd/system/syncthing@.service $installdir/%libdir%/systemd/system/syncthing@.service | install -Dm00644 etc/linux-systemd/system/syncthing@.service $installdir/%libdir%/systemd/system/syncthing@.service | ||||
| install -Dm00644 etc/linux-systemd/user/syncthing.service $installdir/%libdir%/systemd/user/syncthing.service | install -Dm00644 etc/linux-systemd/user/syncthing.service $installdir/%libdir%/systemd/user/syncthing.service | ||||
| # ufw rules | |||||
| mkdir -p $installdir/etc/ufw | |||||
| mkdir -p $installdir/etc/ufw/applications.d | |||||
JoshStrobl: This isn't needed, you're using the `install` command already. Read what the `-D` flag does. | |||||
| install -Dm00644 etc/firewall-ufw/syncthing $installdir/etc/ufw/applications.d/ | |||||
| # Install man pages | # Install man pages | ||||
| cd man | cd man | ||||
| install -Dm00644 syncthing.1 $installdir/usr/share/man/man1/syncthing.1 | install -Dm00644 syncthing.1 $installdir/usr/share/man/man1/syncthing.1 | ||||
| for file in $(find . -name '*.5' -print); do | for file in $(find . -name '*.5' -print); do | ||||
| install -Dm00644 $file $installdir/usr/share/man/man5/$file | install -Dm00644 $file $installdir/usr/share/man/man5/$file | ||||
| done | done | ||||
| for file in $(find . -name '*.7' -print); do | for file in $(find . -name '*.7' -print); do | ||||
| install -Dm00644 $file $installdir/usr/share/man/man7/$file | install -Dm00644 $file $installdir/usr/share/man/man7/$file | ||||
| done | done | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
This isn't needed, you're using the install command already. Read what the -D flag does.