add prepare
This commit is contained in:
parent
393aec4a50
commit
a8de41105c
@ -18,6 +18,10 @@ checksums=('SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 strelaysrv "${pkgdir}/usr/bin/syncthing-relaysrv"
|
||||
install -Dm644 "${srcdir}/syncthing-relaysrv.service" "${pkgdir}/usr/lib/systemd/system/syncthing-relaysrv.service"
|
||||
|
@ -12,6 +12,10 @@ build_deps=('git' 'go')
|
||||
sources_amd64=("https://github.com/${name}/${name}/releases/download/v${version}/${name}-linux-amd64-v${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 syncthing "${pkgdir}/usr/bin/syncthing"
|
||||
install -Dm644 man/strelaysrv.1 "${pkgdir}/usr/share/man/man1/${name}.1"
|
||||
|
Loading…
Reference in New Issue
Block a user