syncthing 1.29.3

This commit is contained in:
2025-03-14 12:23:01 +03:00
parent 08b82b9e51
commit 706fd100a2
2 changed files with 48 additions and 18 deletions

View File

@ -1,7 +1,8 @@
name='syncthing'
version='1.29.2'
version='1.29.3'
release='1'
desc='Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.'
desc_ru='Syncthing — это программа для непрерывной синхронизации файлов. Она синхронизирует файлы между двумя или более компьютерами.'
homepage='https://syncthing.net/'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
architectures=('amd64')
@ -20,10 +21,21 @@ prepare() {
}
package() {
install -Dm755 ./${provides}-linux-amd64-v${version}/syncthing "${pkgdir}/usr/bin/syncthing"
#install -Dm644 man/strelaysrv.1 "${pkgdir}/usr/share/man/man1/${provides}.1"
install -Dm644 ./${provides}-linux-amd64-v${version}/README.txt "${pkgdir}/usr/share/doc/syncthing/README.md"
install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing-resume.service" "${pkgdir}/usr/lib/systemd/system/syncthing-resume.service"
install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service" "${pkgdir}/usr/lib/systemd/system/syncthing@.service"
install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service" "${pkgdir}/usr/lib/systemd/user/syncthing.service"
install-binary ./${name}-linux-amd64-v${version}/syncthing
install -Dm644 ./${name}-linux-amd64-v${version}/README.txt ${pkgdir}/usr/share/doc/syncthing/README.md
install-systemd ./${name}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service
install-systemd-user ./${name}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service
install-desktop ./${name}-linux-amd64-v${version}/etc/linux-desktop/syncthing-start.desktop
install-desktop ./${name}-linux-amd64-v${version}/etc/linux-desktop/syncthing-ui.desktop
install-license ./${name}-linux-amd64-v${version}/LICENSE.txt syncthing/LICENSE
}
files() {
echo ./usr/bin/syncthing
files-find-doc syncthing
echo ./usr/lib/systemd/system/syncthing@.service
echo ./usr/lib/systemd/user/syncthing.service
echo ./usr/share/applications/syncthing-start.desktop
echo ./usr/share/applications/syncthing-ui.desktop
echo ./usr/share/licenses/syncthing/LICENSE
}