diff options
author | yjun | 2021-02-05 22:56:38 +0800 |
---|---|---|
committer | yjun | 2021-02-05 22:56:38 +0800 |
commit | 83de626399151e70983e2ddc40587c09ae33e2c1 (patch) | |
tree | 6583fe7d67bd838663f499d414ee767ce261a1a2 | |
parent | 7e87274888061051a690a818b2a6694f517c8cf1 (diff) | |
download | aur-83de626399151e70983e2ddc40587c09ae33e2c1.tar.gz |
fixed icons aliasing on tray
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = sunloginclient pkgdesc = Proprietary software that supports remote control of mobile devices, Windows, Mac, Linux and other systems.(GUI version) pkgver = 11.0.0.35346 - pkgrel = 3 + pkgrel = 4 url = https://sunlogin.oray.com install = sunloginclient.install arch = x86_64 @@ -3,7 +3,7 @@ pkgname=sunloginclient _pkgname=sunlogin pkgver=11.0.0.35346 -pkgrel=3 +pkgrel=4 pkgdesc="Proprietary software that supports remote control of mobile devices, Windows, Mac, Linux and other systems.(GUI version)" arch=("x86_64") url="https://sunlogin.oray.com" @@ -40,8 +40,13 @@ package() { install -Dm644 {} -t ${pkgdir}/opt/${_pkgname}/res/font \; # icon - find usr/local/${_pkgname}/res/icon -type f -exec \ - install -Dm644 {} -t ${pkgdir}/opt/${_pkgname}/res/icon \; + install -dm755 "$pkgdir/opt/${_pkgname}/res/icon" + for ico in offline_lock offline online_ctrl online_lock online + do + icotool -x -i 3 usr/local/${_pkgname}/res/icon/$ico.ico -o . + icotool -c "${ico}_3_24x24x32.png" -o \ + "$pkgdir/opt/${_pkgname}/res/icon/$ico.ico" + done # skin # needed write permission |