name='syncthing' version='1.22.0' release='1' desc='Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.' homepage='https://syncthing.net/' architectures='amd64' licenses='MPL' provides='syncthing' conflicts='syncthing' deps_amd64=('glibc' 'strelaysrv') build_deps=('git' 'go') sources_amd64=("https://github.com/${name}/${name}/releases/download/v${version}/${name}-linux-amd64-v${version}.tar.gz") checksums=('SKIP') package() { install -Dm755 syncthing "${pkgdir}/usr/bin/syncthing" install -Dm644 man/strelaysrv.1 "${pkgdir}/usr/share/man/man1/${name}.1" 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" }