[fix] icon not found during build

This commit is contained in:
yjun 2021-07-01 16:15:58 +08:00
parent d993a29e46
commit 00bc9ac869
2 changed files with 5 additions and 3 deletions

View file

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

View file

@ -3,7 +3,7 @@
pkgname=todesk-bin
_pkgname=${pkgname%-bin}
pkgver=2.0.2
pkgrel=1
pkgrel=2
pkgdesc="Remote control and team work"
arch=('x86_64' 'aarch64' 'armv7h')
url="https://www.todesk.com/"
@ -65,6 +65,8 @@ package() {
install -Dm644 etc/systemd/system/${_pkgname}d.service -t ${pkgdir}/usr/lib/systemd/system
# icon
install -Dm644 usr/share/pixmaps/${_pkgname}.png -t ${pkgdir}/usr/share/pixmaps
# install -Dm644 usr/share/pixmaps/${_pkgname}.png -t ${pkgdir}/usr/share/pixmaps
find usr/share/icons -type f -exec install -Dm644 {} ${pkgdir}/{} \;
}
# vim: set sw=2 ts=2 et: