rename bin or git
This commit is contained in:
34
strelaysrv-bin/lure.sh
Executable file
34
strelaysrv-bin/lure.sh
Executable file
@ -0,0 +1,34 @@
|
||||
name='strelaysrv-bin'
|
||||
version='1.22.1'
|
||||
release='1'
|
||||
desc='This is the relay server for the syncthing project.'
|
||||
homepage='https://syncthing.net/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('MPL-2.0')
|
||||
provides=('syncthing-relaysrv')
|
||||
conflicts=('syncthing-relaysrv')
|
||||
deps_amd64=('glibc')
|
||||
deps_amd64_debian=('libc6')
|
||||
build_deps=('git' 'go')
|
||||
build_deps_debian=('git' 'golang')
|
||||
|
||||
sources_amd64=("https://github.com/syncthing/relaysrv/releases/download/v${version}/${provides}-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}"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 ./${provides}-linux-amd64-v${version}/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"
|
||||
}
|
Reference in New Issue
Block a user