From a7449aa60f3a057d705d6d44a5bb99da551b9656 Mon Sep 17 00:00:00 2001 From: "e.khramov" Date: Fri, 21 Oct 2022 11:05:40 +0300 Subject: [PATCH] . --- strelaysrv/lure.sh | 5 ----- syncthing/lure.sh | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/strelaysrv/lure.sh b/strelaysrv/lure.sh index 8f32e03..a703d15 100644 --- a/strelaysrv/lure.sh +++ b/strelaysrv/lure.sh @@ -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" diff --git a/syncthing/lure.sh b/syncthing/lure.sh index 11a1cfc..15f8e95 100644 --- a/syncthing/lure.sh +++ b/syncthing/lure.sh @@ -18,4 +18,10 @@ checksums=('SKIP') #} #version #build -#package \ No newline at end of file +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" +} \ No newline at end of file