diff --git a/strelaysrv/lure.sh b/strelaysrv/lure.sh new file mode 100644 index 0000000..8f32e03 --- /dev/null +++ b/strelaysrv/lure.sh @@ -0,0 +1,31 @@ +name='strelaysrv' +version='1.18.6' +release='1' +desc='This is the relay server for the syncthing project.' +homepage='https://syncthing.net/' +architectures='amd64' +licenses='MPL' +provides='syncthing-relaysrv' +conflicts='syncthing-relaysrv' +deps_amd64=('glibc') +build_deps=('git' 'go') +sources_amd64=("https://github.com/syncthing/releases/download/v${version}/${name}-linux-amd64-v${version}.tar.gz" +"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.service" +"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.tmpfiles" +"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.sysusers") +checksums=('SKIP' +'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" +install -Dm644 "${srcdir}/syncthing-relaysrv.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/syncthing-relaysrv.conf" +install -Dm644 "${srcdir}/syncthing-relaysrv.sysusers" "${pkgdir}/usr/lib/sysusers.d/syncthing-relaysrv.conf" +} \ No newline at end of file diff --git a/syncthing/lure.sh b/syncthing/lure.sh index 4362fbf..cf91397 100644 --- a/syncthing/lure.sh +++ b/syncthing/lure.sh @@ -13,6 +13,7 @@ sources_amd64=("https://github.com/${name}/${name}/releases/download/v${version} checksums=('SKIP') #prepare() { +#cd "${srcdir}" #} #version