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