From 696965e6ed733925a576112e88ec0b96c9f9a1f5 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 22 Oct 2022 15:01:22 +0300 Subject: [PATCH] fix install --- syncthing/lure.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/syncthing/lure.sh b/syncthing/lure.sh index d9f3caf..69c1c92 100644 --- a/syncthing/lure.sh +++ b/syncthing/lure.sh @@ -17,10 +17,10 @@ cd "${srcdir}" } 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" +install -Dm755 ./${name}-linux-amd64-v${version}/syncthing "${pkgdir}/usr/bin/syncthing" +#install -Dm644 man/strelaysrv.1 "${pkgdir}/usr/share/man/man1/${name}.1" +install -Dm644 ./${name}-linux-amd64-v${version}/README.txt "${pkgdir}/usr/share/doc/syncthing/README.md" +install -Dm644 "./${name}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing-resume.service" "${pkgdir}/usr/lib/systemd/system/syncthing-resume.service" +install -Dm644 "./${name}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service" "${pkgdir}/usr/lib/systemd/system/syncthing@.service" +install -Dm644 "./${name}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service" "${pkgdir}/usr/lib/systemd/user/syncthing.service" } \ No newline at end of file