fixed uid gid mismarch
This commit is contained in:
parent
82b1caf276
commit
90780d48b9
2 changed files with 5 additions and 5 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = todesk-bin
|
pkgbase = todesk-bin
|
||||||
pkgdesc = Remote control and team work
|
pkgdesc = Remote control and team work
|
||||||
pkgver = 1.0.0
|
pkgver = 1.0.0
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://www.todesk.cn/
|
url = https://www.todesk.cn/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom
|
license = custom
|
||||||
|
|
8
PKGBUILD
8
PKGBUILD
|
@ -5,7 +5,7 @@ _pkgname=${pkgname%-bin}
|
||||||
pkgver=1.0.0
|
pkgver=1.0.0
|
||||||
_pkgver_ext=20201010f
|
_pkgver_ext=20201010f
|
||||||
_pkg_file_name=${_pkgname}${_pkgver_ext}.deb
|
_pkg_file_name=${_pkgname}${_pkgver_ext}.deb
|
||||||
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,13 +28,13 @@ if [ ! -f ${PWD}/${_pkg_file_name} ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
tar -xf ${srcdir}/data.tar.xz -C ${pkgdir}
|
bsdtar -o --no-same-permissions -xf ${srcdir}/data.tar.xz -C ${pkgdir}
|
||||||
install -Dm755 ${pkgdir}/usr/local/bin/${_pkgname} -t ${pkgdir}/usr/bin/
|
install -Dm755 ${pkgdir}/usr/local/bin/${_pkgname} -t ${pkgdir}/usr/bin/
|
||||||
rm -rf ${pkgdir}/usr/local
|
rm -rf ${pkgdir}/usr/local
|
||||||
|
|
||||||
# fixed permission
|
# fixed permission
|
||||||
find ${pkgdir} -type d -exec chmod 755 {} \;
|
install -dm755 ${pkgdir}/opt/todesk/lib
|
||||||
|
|
||||||
# desktop entry
|
# desktop entry
|
||||||
sed -i "s|Emulator||g" ${pkgdir}/usr/share/applications/${_pkgname}.desktop
|
sed -i "s|Emulator||g" ${pkgdir}/usr/share/applications/${_pkgname}.desktop
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue