added todeskupdate

This commit is contained in:
yjun 2021-01-08 15:56:47 +08:00
parent c5414f327a
commit b04c1d4e59
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
pkgbase = todesk-bin pkgbase = todesk-bin
pkgdesc = Remote control and team work pkgdesc = Remote control and team work
pkgver = 1.2.2 pkgver = 1.2.2
pkgrel = 1 pkgrel = 2
url = https://www.todesk.cn/ url = https://www.todesk.cn/
install = todesk.install install = todesk.install
arch = x86_64 arch = x86_64

View file

@ -3,7 +3,7 @@
pkgname=todesk-bin pkgname=todesk-bin
_pkgname=${pkgname%-bin} _pkgname=${pkgname%-bin}
pkgver=1.2.2 pkgver=1.2.2
pkgrel=1 pkgrel=2
pkgdesc="Remote control and team work" pkgdesc="Remote control and team work"
arch=('x86_64') arch=('x86_64')
url="https://www.todesk.cn/" url="https://www.todesk.cn/"
@ -28,6 +28,7 @@ package() {
# binary wrapper # binary wrapper
install -Dm 755 usr/local/bin/${_pkgname} -t ${pkgdir}/usr/bin/ install -Dm 755 usr/local/bin/${_pkgname} -t ${pkgdir}/usr/bin/
install -Dm 755 usr/local/bin/${_pkgname}update -t ${pkgdir}/usr/bin/
# lib # lib
find opt/${_pkgname}/lib -type f -exec install -Dm644 {} ${pkgdir}/{} \; find opt/${_pkgname}/lib -type f -exec install -Dm644 {} ${pkgdir}/{} \;
@ -39,6 +40,7 @@ package() {
# binary & scripts # binary & scripts
install -Dm755 opt/${_pkgname}/${_pkgname} -t ${pkgdir}/opt/${_pkgname}/ install -Dm755 opt/${_pkgname}/${_pkgname} -t ${pkgdir}/opt/${_pkgname}/
install -Dm755 opt/${_pkgname}/${_pkgname}d -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}/ install -Dm755 opt/${_pkgname}/daemon.sh -t ${pkgdir}/opt/${_pkgname}/
# qt.conf & todeskd.conf # qt.conf & todeskd.conf