This commit is contained in:
e.khramov 2022-10-21 11:05:40 +03:00
parent 99ee2cbd5a
commit a7449aa60f
2 changed files with 7 additions and 6 deletions

@ -18,11 +18,6 @@ checksums=('SKIP'
'SKIP'
'SKIP')
#prepare() {
# cd "${srcdir}"
#}
#version
#build
package() {
install -Dm755 strelaysrv "${pkgdir}/usr/bin/syncthing-relaysrv"
install -Dm644 "${srcdir}/syncthing-relaysrv.service" "${pkgdir}/usr/lib/systemd/system/syncthing-relaysrv.service"

@ -18,4 +18,10 @@ checksums=('SKIP')
#}
#version
#build
#package
package() {
install -Dm755 syncthing "${pkgdir}/usr/bin/syncthing"
install -Dm644 README.md "${pkgdir}/usr/share/doc/syncthing/README.md"
install -Dm644 "etc/linux-systemd/system/syncthing-resume.service" "${pkgdir}/usr/lib/systemd/system/syncthing-resume.service"
install -Dm644 "etc/linux-systemd/system/syncthing@.service" "${pkgdir}/usr/lib/systemd/system/syncthing@.service"
install -Dm644 "etc/linux-systemd/user/syncthing.service" "${pkgdir}/usr/lib/systemd/user/syncthing.service"
}