alr-repo/syncthing/lure.sh
e.khramov a7449aa60f .
2022-10-21 11:05:40 +03:00

27 lines
1015 B
Bash

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')
#prepare() {
#cd "${srcdir}"
#}
#version
#build
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"
}