summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryjun2021-02-05 22:56:38 +0800
committeryjun2021-02-05 22:56:38 +0800
commit83de626399151e70983e2ddc40587c09ae33e2c1 (patch)
tree6583fe7d67bd838663f499d414ee767ce261a1a2
parent7e87274888061051a690a818b2a6694f517c8cf1 (diff)
downloadaur-83de626399151e70983e2ddc40587c09ae33e2c1.tar.gz
fixed icons aliasing on tray
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9aa86246976..cb1217ad1b66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index bf0e6f370792..f34e0c78fa98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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