From b04c1d4e59d3596f6c229d7e0c15cb0b2694d1f9 Mon Sep 17 00:00:00 2001 From: yjun Date: Fri, 8 Jan 2021 15:56:47 +0800 Subject: [PATCH] added todeskupdate --- .SRCINFO | 2 +- PKGBUILD | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 4c563e2bd9f..ec3cf294d61 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = todesk-bin pkgdesc = Remote control and team work pkgver = 1.2.2 - pkgrel = 1 + pkgrel = 2 url = https://www.todesk.cn/ install = todesk.install arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 3d04c1e5647..ace67629ebd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=todesk-bin _pkgname=${pkgname%-bin} pkgver=1.2.2 -pkgrel=1 +pkgrel=2 pkgdesc="Remote control and team work" arch=('x86_64') url="https://www.todesk.cn/" @@ -28,6 +28,7 @@ package() { # binary wrapper install -Dm 755 usr/local/bin/${_pkgname} -t ${pkgdir}/usr/bin/ + install -Dm 755 usr/local/bin/${_pkgname}update -t ${pkgdir}/usr/bin/ # lib find opt/${_pkgname}/lib -type f -exec install -Dm644 {} ${pkgdir}/{} \; @@ -39,6 +40,7 @@ package() { # binary & scripts install -Dm755 opt/${_pkgname}/${_pkgname} -t ${pkgdir}/opt/${_pkgname}/ install -Dm755 opt/${_pkgname}/${_pkgname}d -t ${pkgdir}/opt/${_pkgname}/ + install -Dm755 opt/${_pkgname}/${_pkgname}update -t ${pkgdir}/opt/${_pkgname}/ install -Dm755 opt/${_pkgname}/daemon.sh -t ${pkgdir}/opt/${_pkgname}/ # qt.conf & todeskd.conf